home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / doc / plplot.tex / node37_ct.html < prev    next >
LaTeX Document  |  1980-02-12  |  55.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 54 68 | 65 20 50 4c 70 6c 6f 74 |ts of Th|e PLplot|
|000000b0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 50 72 | Applica|tions Pr|
|000000c0| 6f 67 72 61 6d 6d 69 6e | 67 20 49 6e 74 65 72 66 |ogrammin|g Interf|
|000000d0| 61 63 65 3c 2f 54 49 54 | 4c 45 3e 0a 0a 3c 4d 45 |ace</TIT|LE>..<ME|
|000000e0| 54 41 20 48 54 54 50 2d | 45 51 55 49 56 3d 22 43 |TA HTTP-|EQUIV="C|
|000000f0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 22 20 43 4f 4e |ontent-T|ype" CON|
|00000100| 54 45 4e 54 3d 22 74 65 | 78 74 2f 68 74 6d 6c 3b |TENT="te|xt/html;|
|00000110| 20 63 68 61 72 73 65 74 | 3d 75 74 66 2d 38 22 3e | charset|=utf-8">|
|00000120| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 76 69 65 |.<META N|AME="vie|
|00000130| 77 70 6f 72 74 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |wport" C|ONTENT="|
|00000140| 77 69 64 74 68 3d 64 65 | 76 69 63 65 2d 77 69 64 |width=de|vice-wid|
|00000150| 74 68 2c 20 69 6e 69 74 | 69 61 6c 2d 73 63 61 6c |th, init|ial-scal|
|00000160| 65 3d 31 2e 30 22 3e 0a | 3c 4d 45 54 41 20 4e 41 |e=1.0">.|<META NA|
|00000170| 4d 45 3d 22 47 65 6e 65 | 72 61 74 6f 72 22 20 43 |ME="Gene|rator" C|
|00000180| 4f 4e 54 45 4e 54 3d 22 | 4c 61 54 65 58 32 48 54 |ONTENT="|LaTeX2HT|
|00000190| 4d 4c 20 76 32 30 32 32 | 22 3e 0a 0a 3c 4c 49 4e |ML v2022|">..<LIN|
|000001a0| 4b 20 52 45 4c 3d 22 53 | 54 59 4c 45 53 48 45 45 |K REL="S|TYLESHEE|
|000001b0| 54 22 20 48 52 45 46 3d | 22 70 6c 70 6c 6f 74 2e |T" HREF=|"plplot.|
|000001c0| 63 73 73 22 3e 0a 0a 3c | 4c 49 4e 4b 20 52 45 4c |css">..<|LINK REL|
|000001d0| 3d 22 70 72 65 76 69 6f | 75 73 22 20 48 52 45 46 |="previo|us" HREF|
|000001e0| 3d 22 6e 6f 64 65 33 36 | 5f 6d 6e 2e 68 74 6d 6c |="node36|_mn.html|
|000001f0| 22 3e 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 75 70 |">.<LINK| REL="up|
|00000200| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 33 36 5f 6d |" HREF="|node36_m|
|00000210| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|00000220| 45 4c 3d 22 6e 65 78 74 | 22 20 48 52 45 46 3d 22 |EL="next|" HREF="|
|00000230| 6e 6f 64 65 33 38 5f 6d | 6e 2e 68 74 6d 6c 22 3e |node38_m|n.html">|
|00000240| 0a 3c 2f 48 45 41 44 3e | 0a 20 0a 3c 42 4f 44 59 |.</HEAD>|. .<BODY|
|00000250| 20 62 67 63 6f 6c 6f 72 | 3d 22 23 66 66 66 66 66 | bgcolor|="#fffff|
|00000260| 66 22 20 74 65 78 74 3d | 22 23 30 30 30 30 30 30 |f" text=|"#000000|
|00000270| 22 20 6c 69 6e 6b 3d 22 | 23 39 39 34 34 45 45 22 |" link="|#9944EE"|
|00000280| 20 76 6c 69 6e 6b 3d 22 | 23 30 30 30 30 66 66 22 | vlink="|#0000ff"|
|00000290| 20 61 6c 69 6e 6b 3d 22 | 23 30 30 66 66 30 30 22 | alink="|#00ff00"|
|000002a0| 3e 0a 0a 3c 48 31 3e 3c | 41 20 49 44 3d 22 53 45 |>..<H1><|A ID="SE|
|000002b0| 43 54 49 4f 4e 30 34 31 | 30 30 30 30 30 30 30 30 |CTION041|00000000|
|000002c0| 30 30 30 30 30 30 30 30 | 30 22 3e 0a 54 68 65 20 |00000000|0">.The |
|000002d0| 50 4c 70 6c 6f 74 20 41 | 70 70 6c 69 63 61 74 69 |PLplot A|pplicati|
|000002e0| 6f 6e 73 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |ons Prog|ramming |
|000002f0| 49 6e 74 65 72 66 61 63 | 65 3c 2f 41 3e 0a 3c 2f |Interfac|e</A>.</|
|00000300| 48 31 3e 0a 0a 3c 50 3e | 0a 44 6f 63 75 6d 65 6e |H1>..<P>|.Documen|
|00000310| 74 61 74 69 6f 6e 20 6f | 66 20 65 61 63 68 20 50 |tation o|f each P|
|00000320| 4c 70 6c 6f 74 20 66 75 | 6e 63 74 69 6f 6e 2e 0a |Lplot fu|nction..|
|00000330| 0a 3c 50 3e 0a 4d 61 6e | 79 20 6e 65 77 20 6f 6e |.<P>.Man|y new on|
|00000340| 65 73 20 61 72 65 20 73 | 74 69 6c 6c 20 6d 69 73 |es are s|till mis|
|00000350| 73 69 6e 67 2e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |sing...<|P>.<BR>.|
|00000360| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 22 20 |<IMG. S|TYLE="" |
|00000370| 53 52 43 3d 22 69 6d 67 | 31 36 2e 70 6e 67 22 0a |SRC="img|16.png".|
|00000380| 20 41 4c 54 3d 22 5c 62 | 65 67 69 6e 7b 6d 65 6e | ALT="\b|egin{men|
|00000390| 75 7d 0a 2a 20 70 6c 61 | 64 76 3a 3a 20 41 64 76 |u}.* pla|dv:: Adv|
|000003a0| 61 6e 63 65 20 74 68 65 | 20 28 73 75 62 2d 29 70 |ance the| (sub-)p|
|000003b0| 61 67 65 0a 2a 20 70 6c | 62 69 6e 3a 3a 20 50 6c |age.* pl|bin:: Pl|
|000003c0| 6f 74 20 61 20 68 69 73 | 74 6f 67 72 61 6d 20 66 |ot a his|togram f|
|000003d0| 72 6f 6d 20 62 69 2e 2e | 2e 0a 2e 2e 2e 70 65 6e |rom bi..|.....pen|
|000003e0| 20 77 69 64 74 68 0a 2a | 20 70 6c 77 69 6e 64 3a | width.*| plwind:|
|000003f0| 3a 20 53 70 65 63 69 66 | 79 20 77 6f 72 6c 64 20 |: Specif|y world |
|00000400| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 6f 66 20 76 |coordina|tes of v|
|00000410| 69 65 77 70 6f 72 74 20 | 62 6f 75 6e 64 61 72 69 |iewport |boundari|
|00000420| 65 73 0a 5c 65 6e 64 7b | 6d 65 6e 75 7d 22 3e 0a |es.\end{|menu}">.|
|00000430| 3c 42 52 3e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |<BR>..<P|>.&#184;|
|00000440| 26 23 31 38 34 3b 45 26 | 23 78 33 32 37 3b 61 63 |&#184;E&|#x327;ac|
|00000450| 68 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 65 6e |h functi|on is en|
|00000460| 63 6c 6f 73 65 64 20 69 | 6e 20 61 20 62 6f 78 20 |closed i|n a box |
|00000470| 77 69 74 68 20 61 6e 20 | 69 6e 64 65 6e 64 65 64 |with an |indended|
|00000480| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 2e 20 20 54 | descrip|tion. T|
|00000490| 68 65 0a 61 26 23 78 33 | 32 37 3b 72 67 75 6d 65 |he.a&#x3|27;rgume|
|000004a0| 6e 74 73 20 61 72 65 20 | 61 6c 73 6f 20 6f 66 66 |nts are |also off|
|000004b0| 73 65 74 20 77 69 74 68 | 20 61 6e 20 69 6e 64 65 |set with| an inde|
|000004c0| 6e 74 65 64 20 65 78 70 | 6c 61 6e 61 74 69 6f 6e |nted exp|lanation|
|000004d0| 2e 20 20 49 6e 20 6f 72 | 64 65 72 20 74 6f 0a 26 |. In or|der to.&|
|000004e0| 23 33 31 31 3b 65 65 70 | 20 74 68 69 6e 67 73 20 |#311;eep| things |
|000004f0| 61 73 20 63 6c 65 61 6e | 20 61 73 20 70 6f 73 73 |as clean| as poss|
|00000500| 69 62 6c 65 2c 20 6e 6f | 20 73 65 63 74 69 6f 6e |ible, no| section|
|00000510| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ing comm|ands are|
|00000520| 20 75 73 65 64 2c 0a 26 | 23 33 34 33 3b 61 74 68 | used,.&|#343;ath|
|00000530| 65 72 2c 20 74 68 65 20 | 73 65 63 74 69 6f 6e 73 |er, the |sections|
|00000540| 20 61 72 65 20 61 64 64 | 65 64 20 74 6f 20 74 68 | are add|ed to th|
|00000550| 65 20 74 61 62 6c 65 20 | 6f 66 20 63 6f 6e 74 65 |e table |of conte|
|00000560| 6e 74 73 20 22 62 79 20 | 68 61 6e 64 22 2e 0a 26 |nts "by |hand"..&|
|00000570| 23 33 35 30 3b 69 6e 63 | 65 20 6c 61 74 65 78 69 |#350;inc|e latexi|
|00000580| 6e 66 6f 2e 73 74 79 20 | 72 65 71 75 69 72 65 73 |nfo.sty |requires|
|00000590| 20 61 20 73 65 63 74 69 | 6f 6e 69 6e 67 20 63 6f | a secti|oning co|
|000005a0| 6d 6d 61 6e 64 20 74 6f | 20 62 65 20 75 73 65 64 |mmand to| be used|
|000005b0| 20 74 6f 20 67 65 74 0a | 26 23 33 35 35 3b 68 65 | to get.|&#355;he|
|000005c0| 20 4c 61 74 65 78 20 63 | 72 6f 73 73 20 72 65 66 | Latex c|ross ref|
|000005d0| 65 72 65 6e 63 65 73 20 | 72 69 67 68 74 2c 20 49 |erences |right, I|
|000005e0| 20 61 6c 73 6f 20 70 75 | 74 20 74 68 65 73 65 20 | also pu|t these |
|000005f0| 69 6e 20 62 79 20 68 61 | 6e 64 2e 0a 26 23 31 38 |in by ha|nd..&#18|
|00000600| 34 3b 26 23 31 38 34 3b | 0a 3c 50 3e 0a 70 6c 61 |4;&#184;|.<P>.pla|
|00000610| 64 76 2c 20 70 6c 62 69 | 6e 2c 20 41 50 49 2c 20 |dv, plbi|n, API, |
|00000620| 41 50 49 0a 0a 3c 50 3e | 0a 70 6c 61 64 76 28 73 |API..<P>|.pladv(s|
|00000630| 75 62 29 0a 3c 41 20 49 | 44 3d 22 70 6c 61 64 76 |ub).<A I|D="pladv|
|00000640| 22 3e 3c 2f 41 3e 70 6c | 61 64 76 0a 0a 3c 50 3e |"></A>pl|adv..<P>|
|00000650| 0a 41 64 76 61 6e 63 65 | 73 20 74 6f 20 74 68 65 |.Advance|s to the|
|00000660| 20 6e 65 78 74 20 73 75 | 62 70 61 67 65 20 69 66 | next su|bpage if|
|00000670| 20 73 75 62 3d 30 2c 20 | 70 65 72 66 6f 72 6d 69 | sub=0, |performi|
|00000680| 6e 67 20 61 20 70 61 67 | 65 0a 61 64 76 61 6e 63 |ng a pag|e.advanc|
|00000690| 65 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 6e |e if the|re are n|
|000006a0| 6f 20 72 65 6d 61 69 6e | 69 6e 67 20 73 75 62 70 |o remain|ing subp|
|000006b0| 61 67 65 73 20 6f 6e 20 | 74 68 65 20 63 75 72 72 |ages on |the curr|
|000006c0| 65 6e 74 20 70 61 67 65 | 2e 20 20 49 66 0a 73 75 |ent page|. If.su|
|000006d0| 62 77 69 6e 64 6f 77 69 | 6e 67 20 69 73 6e 27 74 |bwindowi|ng isn't|
|000006e0| 20 62 65 69 6e 67 20 75 | 73 65 64 2c 20 70 6c 61 | being u|sed, pla|
|000006f0| 64 76 28 30 29 20 77 69 | 6c 6c 20 61 6c 77 61 79 |dv(0) wi|ll alway|
|00000700| 73 20 61 64 76 61 6e 63 | 65 20 74 68 65 0a 70 61 |s advanc|e the.pa|
|00000710| 67 65 2e 20 20 49 66 20 | 73 75 62 26 67 74 3b 30 |ge. If |sub&gt;0|
|00000720| 2c 20 50 4c 70 6c 6f 74 | 20 73 77 69 74 63 68 65 |, PLplot| switche|
|00000730| 73 20 74 6f 20 74 68 65 | 20 73 70 65 63 69 66 69 |s to the| specifi|
|00000740| 65 64 20 73 75 62 70 61 | 67 65 2e 20 20 4e 6f 74 |ed subpa|ge. Not|
|00000750| 65 0a 74 68 61 74 20 74 | 68 69 73 20 61 6c 6c 6f |e.that t|his allo|
|00000760| 77 73 20 79 6f 75 20 74 | 6f 20 6f 76 65 72 77 72 |ws you t|o overwr|
|00000770| 69 74 65 20 61 20 70 6c | 6f 74 20 6f 6e 20 74 68 |ite a pl|ot on th|
|00000780| 65 20 73 70 65 63 69 66 | 69 65 64 20 73 75 62 70 |e specif|ied subp|
|00000790| 61 67 65 3b 20 69 66 20 | 74 68 69 73 0a 69 73 20 |age; if |this.is |
|000007a0| 6e 6f 74 20 77 68 61 74 | 20 79 6f 75 20 69 6e 74 |not what| you int|
|000007b0| 65 6e 64 65 64 2c 20 75 | 73 65 20 70 6c 63 6c 72 |ended, u|se plclr|
|000007c0| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 70 6c 70 | followe|d by plp|
|000007d0| 61 67 65 20 74 6f 0a 66 | 69 72 73 74 20 61 64 76 |age to.f|irst adv|
|000007e0| 61 6e 63 65 20 74 68 65 | 20 70 61 67 65 2e 20 20 |ance the| page. |
|000007f0| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |This rou|tine is |
|00000800| 63 61 6c 6c 65 64 20 61 | 75 74 6f 6d 61 74 69 63 |called a|utomatic|
|00000810| 61 6c 6c 79 20 28 77 69 | 74 68 0a 73 75 62 3d 30 |ally (wi|th.sub=0|
|00000820| 29 20 62 79 20 70 6c 65 | 6e 76 2c 20 62 75 74 20 |) by ple|nv, but |
|00000830| 69 66 20 70 6c 65 6e 76 | 20 69 73 20 6e 6f 74 20 |if plenv| is not |
|00000840| 75 73 65 64 2c 0a 70 6c | 61 64 76 20 6d 75 73 74 |used,.pl|adv must|
|00000850| 20 62 65 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 | be call|ed after|
|00000860| 20 69 6e 69 74 69 61 6c | 69 7a 69 6e 67 20 50 4c | initial|izing PL|
|00000870| 70 6c 6f 74 20 62 75 74 | 20 62 65 66 6f 72 65 20 |plot but| before |
|00000880| 64 65 66 69 6e 69 6e 67 | 0a 74 68 65 20 76 69 65 |defining|.the vie|
|00000890| 77 70 6f 72 74 2e 0a 0a | 3c 50 3e 0a 73 75 62 20 |wport...|<P>.sub |
|000008a0| 28 50 4c 49 4e 54 2c 20 | 69 6e 70 75 74 29 53 70 |(PLINT, |input)Sp|
|000008b0| 65 63 69 66 69 65 73 20 | 74 68 65 20 73 75 62 70 |ecifies |the subp|
|000008c0| 61 67 65 20 6e 75 6d 62 | 65 72 20 28 73 74 61 72 |age numb|er (star|
|000008d0| 74 69 6e 67 20 66 72 6f | 6d 0a 31 20 69 6e 20 74 |ting fro|m.1 in t|
|000008e0| 68 65 20 74 6f 70 20 6c | 65 66 74 20 63 6f 72 6e |he top l|eft corn|
|000008f0| 65 72 20 61 6e 64 20 69 | 6e 63 72 65 61 73 69 6e |er and i|ncreasin|
|00000900| 67 20 61 6c 6f 6e 67 20 | 74 68 65 20 72 6f 77 73 |g along |the rows|
|00000910| 29 20 74 6f 20 77 68 69 | 63 68 20 74 6f 20 61 64 |) to whi|ch to ad|
|00000920| 76 61 6e 63 65 2e 0a 53 | 65 74 20 74 6f 20 7a 65 |vance..S|et to ze|
|00000930| 72 6f 20 74 6f 20 61 64 | 76 61 6e 63 65 20 74 6f |ro to ad|vance to|
|00000940| 20 74 68 65 20 6e 65 78 | 74 20 73 75 62 70 61 67 | the nex|t subpag|
|00000950| 65 2e 0a 0a 3c 50 3e 0a | 26 23 31 38 34 3b 0a 3c |e...<P>.|&#184;.<|
|00000960| 50 3e 0a 70 6c 62 69 6e | 2c 20 70 6c 62 6f 78 2c |P>.plbin|, plbox,|
|00000970| 20 70 6c 61 64 76 2c 20 | 41 50 49 0a 0a 3c 50 3e | pladv, |API..<P>|
|00000980| 0a 70 6c 62 69 6e 28 6e | 62 69 6e 2c 20 78 2c 20 |.plbin(n|bin, x, |
|00000990| 79 2c 20 63 65 6e 29 0a | 3c 41 20 49 44 3d 22 70 |y, cen).|<A ID="p|
|000009a0| 6c 62 69 6e 22 3e 3c 2f | 41 3e 70 6c 62 69 6e 0a |lbin"></|A>plbin.|
|000009b0| 0a 3c 50 3e 0a 50 6c 6f | 74 73 20 61 20 68 69 73 |.<P>.Plo|ts a his|
|000009c0| 74 6f 67 72 61 6d 20 63 | 6f 6e 73 69 73 74 69 6e |togram c|onsistin|
|000009d0| 67 20 6f 66 20 6e 20 62 | 69 6e 73 2e 20 20 54 68 |g of n b|ins. Th|
|000009e0| 65 20 76 61 6c 75 65 20 | 61 73 73 6f 63 69 61 74 |e value |associat|
|000009f0| 65 64 0a 77 69 74 68 20 | 74 68 65 20 69 27 74 68 |ed.with |the i'th|
|00000a00| 20 62 69 6e 20 69 73 20 | 70 6c 61 63 65 64 20 69 | bin is |placed i|
|00000a10| 6e 20 78 5b 69 5d 2c 20 | 61 6e 64 20 74 68 65 20 |n x[i], |and the |
|00000a20| 6e 75 6d 62 65 72 20 6f | 66 20 70 6f 69 6e 74 73 |number o|f points|
|00000a30| 20 69 6e 0a 74 68 65 20 | 62 69 6e 20 69 73 20 70 | in.the |bin is p|
|00000a40| 6c 61 63 65 64 20 69 6e | 20 79 5b 69 5d 2e 20 20 |laced in| y[i]. |
|00000a50| 46 6f 72 20 70 72 6f 70 | 65 72 20 6f 70 65 72 61 |For prop|er opera|
|00000a60| 74 69 6f 6e 2c 20 74 68 | 65 20 76 61 6c 75 65 73 |tion, th|e values|
|00000a70| 20 69 6e 0a 78 5b 69 5d | 20 6d 75 73 74 20 66 6f | in.x[i]| must fo|
|00000a80| 72 6d 20 61 20 73 74 72 | 69 63 74 6c 79 20 69 6e |rm a str|ictly in|
|00000a90| 63 72 65 61 73 69 6e 67 | 20 73 65 71 75 65 6e 63 |creasing| sequenc|
|00000aa0| 65 2e 20 20 49 66 20 63 | 65 6e 74 65 72 20 69 73 |e. If c|enter is|
|00000ab0| 0a 66 61 6c 73 65 2c 20 | 20 78 5b 69 5d 20 69 73 |.false, | x[i] is|
|00000ac0| 20 74 68 65 20 6c 65 66 | 74 2d 68 61 6e 64 20 65 | the lef|t-hand e|
|00000ad0| 64 67 65 20 6f 66 20 74 | 68 65 20 69 27 74 68 20 |dge of t|he i'th |
|00000ae0| 62 69 6e 2c 20 61 6e 64 | 20 69 66 0a 63 65 6e 74 |bin, and| if.cent|
|00000af0| 65 72 20 69 73 20 74 72 | 75 65 2c 20 74 68 65 20 |er is tr|ue, the |
|00000b00| 62 69 6e 20 62 6f 75 6e | 64 61 72 69 65 73 20 61 |bin boun|daries a|
|00000b10| 72 65 20 70 6c 61 63 65 | 64 20 6d 69 64 77 61 79 |re place|d midway|
|00000b20| 20 62 65 74 77 65 65 6e | 20 74 68 65 0a 76 61 6c | between| the.val|
|00000b30| 75 65 73 20 69 6e 20 74 | 68 65 20 78 20 61 72 72 |ues in t|he x arr|
|00000b40| 61 79 2e 20 20 41 6c 73 | 6f 20 73 65 65 20 70 6c |ay. Als|o see pl|
|00000b50| 68 69 73 74 20 66 6f 72 | 20 64 72 61 77 69 6e 67 |hist for| drawing|
|00000b60| 0a 68 69 73 74 6f 67 72 | 61 6d 73 20 66 72 6f 6d |.histogr|ams from|
|00000b70| 20 75 6e 62 69 6e 6e 65 | 64 20 64 61 74 61 2e 0a | unbinne|d data..|
|00000b80| 0a 3c 50 3e 0a 6e 62 69 | 6e 20 28 50 4c 49 4e 54 |.<P>.nbi|n (PLINT|
|00000b90| 2c 20 69 6e 70 75 74 29 | 4e 75 6d 62 65 72 20 6f |, input)|Number o|
|00000ba0| 66 20 62 69 6e 73 20 28 | 69 2e 65 2e 2c 20 6e 75 |f bins (|i.e., nu|
|00000bb0| 6d 62 65 72 20 6f 66 20 | 76 61 6c 75 65 73 20 69 |mber of |values i|
|00000bc0| 6e 0a 3c 49 3e 78 3c 2f | 49 3e 20 61 6e 64 20 3c |n.<I>x</|I> and <|
|00000bd0| 49 3e 79 3c 2f 49 3e 20 | 61 72 72 61 79 73 2e 29 |I>y</I> |arrays.)|
|00000be0| 0a 0a 3c 50 3e 0a 78 20 | 28 50 4c 46 4c 54 20 2a |..<P>.x |(PLFLT *|
|00000bf0| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 20 |, input)|Pointer |
|00000c00| 74 6f 20 61 72 72 61 79 | 20 63 6f 6e 74 61 69 6e |to array| contain|
|00000c10| 69 6e 67 20 76 61 6c 75 | 65 73 0a 61 73 73 6f 63 |ing valu|es.assoc|
|00000c20| 69 61 74 65 64 20 77 69 | 74 68 20 62 69 6e 73 2e |iated wi|th bins.|
|00000c30| 20 20 54 68 65 73 65 20 | 6d 75 73 74 20 66 6f 72 | These |must for|
|00000c40| 6d 20 61 20 73 74 72 69 | 63 74 6c 79 20 69 6e 63 |m a stri|ctly inc|
|00000c50| 72 65 61 73 69 6e 67 20 | 73 65 71 75 65 6e 63 65 |reasing |sequence|
|00000c60| 2e 0a 0a 3c 50 3e 0a 79 | 20 28 50 4c 46 4c 54 20 |...<P>.y| (PLFLT |
|00000c70| 2a 2c 20 69 6e 70 75 74 | 29 50 6f 69 6e 74 65 72 |*, input|)Pointer|
|00000c80| 20 74 6f 20 61 72 72 61 | 79 20 63 6f 6e 74 61 69 | to arra|y contai|
|00000c90| 6e 69 6e 67 20 6e 75 6d | 62 65 72 20 6f 66 0a 70 |ning num|ber of.p|
|00000ca0| 6f 69 6e 74 73 20 69 6e | 20 62 69 6e 2e 20 20 54 |oints in| bin. T|
|00000cb0| 68 69 73 20 69 73 20 61 | 20 50 4c 46 4c 54 20 28 |his is a| PLFLT (|
|00000cc0| 69 6e 73 74 65 61 64 20 | 6f 66 20 50 4c 49 4e 54 |instead |of PLINT|
|00000cd0| 29 20 61 72 72 61 79 20 | 73 6f 20 61 73 20 74 6f |) array |so as to|
|00000ce0| 20 61 6c 6c 6f 77 0a 68 | 69 73 74 6f 67 72 61 6d | allow.h|istogram|
|00000cf0| 73 20 6f 66 20 70 72 6f | 62 61 62 69 6c 69 74 69 |s of pro|babiliti|
|00000d00| 65 73 2c 20 65 74 63 2e | 0a 0a 3c 50 3e 0a 63 65 |es, etc.|..<P>.ce|
|00000d10| 6e 20 28 50 4c 49 4e 54 | 2c 20 69 6e 70 75 74 29 |n (PLINT|, input)|
|00000d20| 49 6e 64 69 63 61 74 65 | 73 20 77 68 65 74 68 65 |Indicate|s whethe|
|00000d30| 72 20 74 68 65 20 76 61 | 6c 75 65 73 20 69 6e 20 |r the va|lues in |
|00000d40| 78 0a 72 65 70 72 65 73 | 65 6e 74 20 74 68 65 20 |x.repres|ent the |
|00000d50| 6c 6f 77 65 72 20 62 69 | 6e 20 62 6f 75 6e 64 61 |lower bi|n bounda|
|00000d60| 72 69 65 73 20 28 63 65 | 6e 3d 30 29 20 6f 72 20 |ries (ce|n=0) or |
|00000d70| 77 68 65 74 68 65 72 20 | 74 68 65 20 62 69 6e 0a |whether |the bin.|
|00000d80| 62 6f 75 6e 64 61 72 69 | 65 73 20 61 72 65 20 74 |boundari|es are t|
|00000d90| 6f 20 62 65 20 6d 69 64 | 77 61 79 20 62 65 74 77 |o be mid|way betw|
|00000da0| 65 65 6e 20 74 68 65 20 | 78 20 76 61 6c 75 65 73 |een the |x values|
|00000db0| 20 28 63 65 6e 3d 31 29 | 2e 20 20 49 66 0a 74 68 | (cen=1)|. If.th|
|00000dc0| 65 20 76 61 6c 75 65 73 | 20 69 6e 20 78 20 61 72 |e values| in x ar|
|00000dd0| 65 20 65 71 75 61 6c 6c | 79 20 73 70 61 63 65 64 |e equall|y spaced|
|00000de0| 20 61 6e 64 20 63 65 6e | 3d 31 2c 20 74 68 65 20 | and cen|=1, the |
|00000df0| 76 61 6c 75 65 73 20 69 | 6e 0a 78 20 61 72 65 20 |values i|n.x are |
|00000e00| 74 68 65 20 63 65 6e 74 | 65 72 20 76 61 6c 75 65 |the cent|er value|
|00000e10| 73 20 6f 66 20 74 68 65 | 20 62 69 6e 73 2e 0a 0a |s of the| bins...|
|00000e20| 3c 50 3e 0a 26 23 31 38 | 34 3b 0a 3c 50 3e 0a 70 |<P>.&#18|4;.<P>.p|
|00000e30| 6c 62 6f 78 2c 20 70 6c | 62 6f 78 33 2c 20 70 6c |lbox, pl|box3, pl|
|00000e40| 62 69 6e 2c 20 41 50 49 | 0a 0a 3c 50 3e 0a 70 6c |bin, API|..<P>.pl|
|00000e50| 62 6f 78 28 78 6f 70 74 | 2c 20 78 74 69 63 6b 2c |box(xopt|, xtick,|
|00000e60| 20 6e 78 73 75 62 2c 20 | 79 6f 70 74 2c 20 79 74 | nxsub, |yopt, yt|
|00000e70| 69 63 6b 2c 20 6e 79 73 | 75 62 29 0a 3c 41 20 49 |ick, nys|ub).<A I|
|00000e80| 44 3d 22 70 6c 62 6f 78 | 22 3e 3c 2f 41 3e 70 6c |D="plbox|"></A>pl|
|00000e90| 62 6f 78 0a 0a 3c 50 3e | 0a 44 72 61 77 73 20 61 |box..<P>|.Draws a|
|00000ea0| 20 62 6f 78 20 61 72 6f | 75 6e 64 20 74 68 65 20 | box aro|und the |
|00000eb0| 63 75 72 72 65 6e 74 6c | 79 20 64 65 66 69 6e 65 |currentl|y define|
|00000ec0| 64 20 76 69 65 77 70 6f | 72 74 2c 20 61 6e 64 20 |d viewpo|rt, and |
|00000ed0| 6c 61 62 65 6c 73 20 69 | 74 0a 77 69 74 68 20 77 |labels i|t.with w|
|00000ee0| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |orld coo|rdinate |
|00000ef0| 76 61 6c 75 65 73 20 61 | 70 70 72 6f 70 72 69 61 |values a|ppropria|
|00000f00| 74 65 20 74 6f 20 74 68 | 65 20 77 69 6e 64 6f 77 |te to th|e window|
|00000f10| 2e 20 20 54 68 75 73 20 | 70 6c 62 6f 78 0a 73 68 |. Thus |plbox.sh|
|00000f20| 6f 75 6c 64 20 6f 6e 6c | 79 20 62 65 20 63 61 6c |ould onl|y be cal|
|00000f30| 6c 65 64 20 61 66 74 65 | 72 20 64 65 66 69 6e 69 |led afte|r defini|
|00000f40| 6e 67 20 62 6f 74 68 20 | 76 69 65 77 70 6f 72 74 |ng both |viewport|
|00000f50| 20 61 6e 64 20 77 69 6e | 64 6f 77 2e 20 20 54 68 | and win|dow. Th|
|00000f60| 65 0a 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |e.charac|ter stri|
|00000f70| 6e 67 73 20 78 6f 70 74 | 20 61 6e 64 20 79 6f 70 |ngs xopt| and yop|
|00000f80| 74 20 73 70 65 63 69 66 | 79 20 68 6f 77 20 74 68 |t specif|y how th|
|00000f90| 65 20 62 6f 78 20 73 68 | 6f 75 6c 64 20 62 65 0a |e box sh|ould be.|
|00000fa0| 64 72 61 77 6e 20 61 73 | 20 64 65 73 63 72 69 62 |drawn as| describ|
|00000fb0| 65 64 20 62 65 6c 6f 77 | 2e 20 20 49 66 20 74 69 |ed below|. If ti|
|00000fc0| 63 6b 73 20 61 6e 64 2f | 6f 72 20 73 75 62 74 69 |cks and/|or subti|
|00000fd0| 63 6b 73 20 61 72 65 20 | 74 6f 20 62 65 20 64 72 |cks are |to be dr|
|00000fe0| 61 77 6e 20 66 6f 72 20 | 61 0a 70 61 72 74 69 63 |awn for |a.partic|
|00000ff0| 75 6c 61 72 20 61 78 69 | 73 2c 20 74 68 65 20 74 |ular axi|s, the t|
|00001000| 69 63 6b 20 69 6e 74 65 | 72 76 61 6c 73 20 61 6e |ick inte|rvals an|
|00001010| 64 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 75 62 69 |d number| of subi|
|00001020| 6e 74 65 72 76 61 6c 73 | 20 6d 61 79 20 62 65 0a |ntervals| may be.|
|00001030| 73 70 65 63 69 66 69 65 | 64 20 65 78 70 6c 69 63 |specifie|d explic|
|00001040| 69 74 6c 79 2c 20 6f 72 | 20 74 68 65 79 20 6d 61 |itly, or| they ma|
|00001050| 79 20 62 65 20 64 65 66 | 61 75 6c 74 65 64 20 62 |y be def|aulted b|
|00001060| 79 20 73 65 74 74 69 6e | 67 20 74 68 65 20 61 70 |y settin|g the ap|
|00001070| 70 72 6f 70 72 69 61 74 | 65 0a 61 72 67 75 6d 65 |propriat|e.argume|
|00001080| 6e 74 73 20 74 6f 20 7a | 65 72 6f 2e 0a 0a 3c 50 |nts to z|ero...<P|
|00001090| 3e 0a 78 6f 70 74 20 28 | 63 68 61 72 20 2a 2c 20 |>.xopt (|char *, |
|000010a0| 69 6e 70 75 74 29 50 6f | 69 6e 74 65 72 20 74 6f |input)Po|inter to|
|000010b0| 20 63 68 61 72 61 63 74 | 65 72 20 73 74 72 69 6e | charact|er strin|
|000010c0| 67 20 73 70 65 63 69 66 | 79 69 6e 67 0a 6f 70 74 |g specif|ying.opt|
|000010d0| 69 6f 6e 73 20 66 6f 72 | 20 68 6f 72 69 7a 6f 6e |ions for| horizon|
|000010e0| 74 61 6c 20 61 78 69 73 | 2e 20 20 54 68 65 20 73 |tal axis|. The s|
|000010f0| 74 72 69 6e 67 20 63 61 | 6e 20 69 6e 63 6c 75 64 |tring ca|n includ|
|00001100| 65 20 61 6e 79 20 63 6f | 6d 62 69 6e 61 74 69 6f |e any co|mbinatio|
|00001110| 6e 20 6f 66 20 74 68 65 | 0a 66 6f 6c 6c 6f 77 69 |n of the|.followi|
|00001120| 6e 67 20 6c 65 74 74 65 | 72 73 20 28 75 70 70 65 |ng lette|rs (uppe|
|00001130| 72 20 6f 72 20 6c 6f 77 | 65 72 20 63 61 73 65 29 |r or low|er case)|
|00001140| 20 69 6e 20 61 6e 79 20 | 6f 72 64 65 72 3a 0a 0a | in any |order:..|
|00001150| 3c 50 3e 0a 0a 3c 55 4c | 3e 0a 3c 4c 49 3e 61 3a |<P>..<UL|>.<LI>a:|
|00001160| 20 44 72 61 77 73 20 61 | 78 69 73 2c 20 58 2d 61 | Draws a|xis, X-a|
|00001170| 78 69 73 20 69 73 20 68 | 6f 72 69 7a 6f 6e 74 61 |xis is h|orizonta|
|00001180| 6c 20 6c 69 6e 65 20 79 | 3d 30 2c 20 61 6e 64 20 |l line y|=0, and |
|00001190| 59 2d 61 78 69 73 0a 69 | 73 20 76 65 72 74 69 63 |Y-axis.i|s vertic|
|000011a0| 61 6c 20 6c 69 6e 65 20 | 78 3d 30 2e 0a 0a 3c 50 |al line |x=0...<P|
|000011b0| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 62 3a 20 44 |>.</LI>.|<LI>b: D|
|000011c0| 72 61 77 73 20 62 6f 74 | 74 6f 6d 20 28 58 29 20 |raws bot|tom (X) |
|000011d0| 6f 72 20 6c 65 66 74 20 | 28 59 29 20 65 64 67 65 |or left |(Y) edge|
|000011e0| 20 6f 66 20 66 72 61 6d | 65 2e 0a 0a 3c 50 3e 0a | of fram|e...<P>.|
|000011f0| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 63 3a 20 44 72 61 |</LI>.<L|I>c: Dra|
|00001200| 77 73 20 74 6f 70 20 28 | 58 29 20 6f 72 20 72 69 |ws top (|X) or ri|
|00001210| 67 68 74 20 28 59 29 20 | 65 64 67 65 20 6f 66 20 |ght (Y) |edge of |
|00001220| 66 72 61 6d 65 2e 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 |frame...|<P>.</LI|
|00001230| 3e 0a 3c 4c 49 3e 67 3a | 20 44 72 61 77 73 20 61 |>.<LI>g:| Draws a|
|00001240| 20 67 72 69 64 20 61 74 | 20 74 68 65 20 6d 61 6a | grid at| the maj|
|00001250| 6f 72 20 74 69 63 6b 20 | 69 6e 74 65 72 76 61 6c |or tick |interval|
|00001260| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|00001270| 3e 69 3a 20 49 6e 76 65 | 72 74 73 20 74 69 63 6b |>i: Inve|rts tick|
|00001280| 20 6d 61 72 6b 73 2c 20 | 73 6f 20 74 68 65 79 20 | marks, |so they |
|00001290| 61 72 65 20 64 72 61 77 | 6e 20 6f 75 74 77 61 72 |are draw|n outwar|
|000012a0| 64 73 2c 20 72 61 74 68 | 65 72 20 74 68 61 6e 0a |ds, rath|er than.|
|000012b0| 69 6e 77 61 72 64 73 2e | 0a 0a 3c 50 3e 0a 3c 2f |inwards.|..<P>.</|
|000012c0| 4c 49 3e 0a 3c 4c 49 3e | 6c 3a 20 4c 61 62 65 6c |LI>.<LI>|l: Label|
|000012d0| 73 20 61 78 69 73 20 6c | 6f 67 61 72 69 74 68 6d |s axis l|ogarithm|
|000012e0| 69 63 61 6c 6c 79 2e 20 | 20 54 68 69 73 20 6f 6e |ically. | This on|
|000012f0| 6c 79 20 61 66 66 65 63 | 74 73 20 74 68 65 20 6c |ly affec|ts the l|
|00001300| 61 62 65 6c 73 2c 0a 6e | 6f 74 20 74 68 65 20 64 |abels,.n|ot the d|
|00001310| 61 74 61 2c 20 61 6e 64 | 20 73 6f 20 69 74 20 69 |ata, and| so it i|
|00001320| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 63 |s necess|ary to c|
|00001330| 6f 6d 70 75 74 65 20 74 | 68 65 20 6c 6f 67 61 72 |ompute t|he logar|
|00001340| 69 74 68 6d 73 20 6f 66 | 20 64 61 74 61 0a 70 6f |ithms of| data.po|
|00001350| 69 6e 74 73 20 62 65 66 | 6f 72 65 20 70 61 73 73 |ints bef|ore pass|
|00001360| 69 6e 67 20 74 68 65 6d | 20 74 6f 20 61 6e 79 20 |ing them| to any |
|00001370| 6f 66 20 74 68 65 20 64 | 72 61 77 69 6e 67 20 72 |of the d|rawing r|
|00001380| 6f 75 74 69 6e 65 73 2e | 0a 0a 3c 50 3e 0a 3c 2f |outines.|..<P>.</|
|00001390| 4c 49 3e 0a 3c 4c 49 3e | 6d 3a 20 57 72 69 74 65 |LI>.<LI>|m: Write|
|000013a0| 73 20 6e 75 6d 65 72 69 | 63 20 6c 61 62 65 6c 73 |s numeri|c labels|
|000013b0| 20 61 74 20 6d 61 6a 6f | 72 20 74 69 63 6b 20 69 | at majo|r tick i|
|000013c0| 6e 74 65 72 76 61 6c 73 | 20 69 6e 20 74 68 65 0a |ntervals| in the.|
|000013d0| 75 6e 63 6f 6e 76 65 6e | 74 69 6f 6e 61 6c 20 6c |unconven|tional l|
|000013e0| 6f 63 61 74 69 6f 6e 20 | 28 61 62 6f 76 65 20 62 |ocation |(above b|
|000013f0| 6f 78 20 66 6f 72 20 58 | 2c 20 72 69 67 68 74 20 |ox for X|, right |
|00001400| 6f 66 20 62 6f 78 20 66 | 6f 72 20 59 29 2e 0a 0a |of box f|or Y)...|
|00001410| 3c 50 3e 0a 3c 2f 4c 49 | 3e 0a 3c 4c 49 3e 6e 3a |<P>.</LI|>.<LI>n:|
|00001420| 20 57 72 69 74 65 73 20 | 6e 75 6d 65 72 69 63 20 | Writes |numeric |
|00001430| 6c 61 62 65 6c 73 20 61 | 74 20 6d 61 6a 6f 72 20 |labels a|t major |
|00001440| 74 69 63 6b 20 69 6e 74 | 65 72 76 61 6c 73 20 69 |tick int|ervals i|
|00001450| 6e 20 74 68 65 0a 63 6f | 6e 76 65 6e 74 69 6f 6e |n the.co|nvention|
|00001460| 61 6c 20 6c 6f 63 61 74 | 69 6f 6e 20 28 62 65 6c |al locat|ion (bel|
|00001470| 6f 77 20 62 6f 78 20 66 | 6f 72 20 58 2c 20 6c 65 |ow box f|or X, le|
|00001480| 66 74 20 6f 66 20 62 6f | 78 20 66 6f 72 20 59 29 |ft of bo|x for Y)|
|00001490| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|000014a0| 3e 73 3a 20 45 6e 61 62 | 6c 65 73 20 73 75 62 74 |>s: Enab|les subt|
|000014b0| 69 63 6b 73 20 62 65 74 | 77 65 65 6e 20 6d 61 6a |icks bet|ween maj|
|000014c0| 6f 72 20 74 69 63 6b 73 | 2c 20 6f 6e 6c 79 20 76 |or ticks|, only v|
|000014d0| 61 6c 69 64 20 69 66 20 | 74 20 69 73 0a 61 6c 73 |alid if |t is.als|
|000014e0| 6f 20 73 70 65 63 69 66 | 69 65 64 2e 0a 0a 3c 50 |o specif|ied...<P|
|000014f0| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 74 3a 20 44 |>.</LI>.|<LI>t: D|
|00001500| 72 61 77 73 20 6d 61 6a | 6f 72 20 74 69 63 6b 73 |raws maj|or ticks|
|00001510| 2e 0a 3c 2f 4c 49 3e 0a | 3c 2f 55 4c 3e 0a 0a 3c |..</LI>.|</UL>..<|
|00001520| 50 3e 0a 78 74 69 63 6b | 20 28 50 4c 46 4c 54 2c |P>.xtick| (PLFLT,|
|00001530| 20 69 6e 70 75 74 29 57 | 6f 72 6c 64 20 63 6f 6f | input)W|orld coo|
|00001540| 72 64 69 6e 61 74 65 20 | 69 6e 74 65 72 76 61 6c |rdinate |interval|
|00001550| 20 62 65 74 77 65 65 6e | 20 6d 61 6a 6f 72 0a 74 | between| major.t|
|00001560| 69 63 6b 73 20 6f 6e 20 | 74 68 65 20 78 20 61 78 |icks on |the x ax|
|00001570| 69 73 2e 20 20 49 66 20 | 69 74 20 69 73 20 73 65 |is. If |it is se|
|00001580| 74 20 74 6f 20 7a 65 72 | 6f 2c 20 50 4c 70 6c 6f |t to zer|o, PLplo|
|00001590| 74 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |t automa|tically |
|000015a0| 67 65 6e 65 72 61 74 65 | 73 20 61 0a 73 75 69 74 |generate|s a.suit|
|000015b0| 61 62 6c 65 20 74 69 63 | 6b 20 69 6e 74 65 72 76 |able tic|k interv|
|000015c0| 61 6c 2e 0a 0a 3c 50 3e | 0a 6e 78 73 75 62 20 28 |al...<P>|.nxsub (|
|000015d0| 50 4c 49 4e 54 2c 20 69 | 6e 70 75 74 29 4e 75 6d |PLINT, i|nput)Num|
|000015e0| 62 65 72 20 6f 66 20 73 | 75 62 69 6e 74 65 72 76 |ber of s|ubinterv|
|000015f0| 61 6c 73 20 62 65 74 77 | 65 65 6e 20 6d 61 6a 6f |als betw|een majo|
|00001600| 72 0a 78 20 61 78 69 73 | 20 74 69 63 6b 73 20 66 |r.x axis| ticks f|
|00001610| 6f 72 20 6d 69 6e 6f 72 | 20 74 69 63 6b 73 2e 20 |or minor| ticks. |
|00001620| 20 49 66 20 69 74 20 69 | 73 20 73 65 74 20 74 6f | If it i|s set to|
|00001630| 20 7a 65 72 6f 2c 20 50 | 4c 70 6c 6f 74 20 61 75 | zero, P|Lplot au|
|00001640| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 0a 67 65 6e 65 |tomatica|lly.gene|
|00001650| 72 61 74 65 73 20 61 20 | 73 75 69 74 61 62 6c 65 |rates a |suitable|
|00001660| 20 6d 69 6e 6f 72 20 74 | 69 63 6b 20 69 6e 74 65 | minor t|ick inte|
|00001670| 72 76 61 6c 2e 0a 0a 3c | 50 3e 0a 79 6f 70 74 20 |rval...<|P>.yopt |
|00001680| 28 63 68 61 72 20 2a 2c | 20 69 6e 70 75 74 29 50 |(char *,| input)P|
|00001690| 6f 69 6e 74 65 72 20 74 | 6f 20 63 68 61 72 61 63 |ointer t|o charac|
|000016a0| 74 65 72 20 73 74 72 69 | 6e 67 20 73 70 65 63 69 |ter stri|ng speci|
|000016b0| 66 79 69 6e 67 0a 6f 70 | 74 69 6f 6e 73 20 66 6f |fying.op|tions fo|
|000016c0| 72 20 76 65 72 74 69 63 | 61 6c 20 61 78 69 73 2e |r vertic|al axis.|
|000016d0| 20 20 54 68 65 20 73 74 | 72 69 6e 67 20 63 61 6e | The st|ring can|
|000016e0| 20 69 6e 63 6c 75 64 65 | 20 61 6e 79 20 63 6f 6d | include| any com|
|000016f0| 62 69 6e 61 74 69 6f 6e | 20 6f 66 20 74 68 65 0a |bination| of the.|
|00001700| 6c 65 74 74 65 72 73 20 | 64 65 66 69 6e 65 64 20 |letters |defined |
|00001710| 61 62 6f 76 65 20 66 6f | 72 20 78 6f 70 74 2c 20 |above fo|r xopt, |
|00001720| 61 6e 64 20 69 6e 20 61 | 64 64 69 74 69 6f 6e 20 |and in a|ddition |
|00001730| 6d 61 79 20 63 6f 6e 74 | 61 69 6e 3a 0a 0a 3c 50 |may cont|ain:..<P|
|00001740| 3e 0a 0a 3c 55 4c 3e 0a | 3c 4c 49 3e 76 3a 20 57 |>..<UL>.|<LI>v: W|
|00001750| 72 69 74 65 20 6e 75 6d | 65 72 69 63 20 6c 61 62 |rite num|eric lab|
|00001760| 65 6c 73 20 66 6f 72 20 | 76 65 72 74 69 63 61 6c |els for |vertical|
|00001770| 20 61 78 69 73 0a 70 61 | 72 61 6c 6c 65 6c 20 74 | axis.pa|rallel t|
|00001780| 6f 20 74 68 65 20 62 61 | 73 65 20 6f 66 20 74 68 |o the ba|se of th|
|00001790| 65 20 67 72 61 70 68 2c | 20 72 61 74 68 65 72 20 |e graph,| rather |
|000017a0| 74 68 61 6e 20 70 61 72 | 61 6c 6c 65 6c 20 74 6f |than par|allel to|
|000017b0| 20 74 68 65 20 61 78 69 | 73 2e 0a 3c 2f 4c 49 3e | the axi|s..</LI>|
|000017c0| 0a 3c 2f 55 4c 3e 0a 0a | 3c 50 3e 0a 79 74 69 63 |.</UL>..|<P>.ytic|
|000017d0| 6b 20 28 72 65 61 6c 2c | 20 69 6e 70 75 74 29 57 |k (real,| input)W|
|000017e0| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |orld coo|rdinate |
|000017f0| 69 6e 74 65 72 76 61 6c | 20 62 65 74 77 65 65 6e |interval| between|
|00001800| 20 6d 61 6a 6f 72 0a 74 | 69 63 6b 73 20 6f 6e 20 | major.t|icks on |
|00001810| 74 68 65 20 79 20 61 78 | 69 73 2e 20 20 49 66 20 |the y ax|is. If |
|00001820| 69 74 20 69 73 20 73 65 | 74 20 74 6f 20 7a 65 72 |it is se|t to zer|
|00001830| 6f 2c 20 50 4c 70 6c 6f | 74 20 61 75 74 6f 6d 61 |o, PLplo|t automa|
|00001840| 74 69 63 61 6c 6c 79 20 | 67 65 6e 65 72 61 74 65 |tically |generate|
|00001850| 73 20 61 0a 73 75 69 74 | 61 62 6c 65 20 74 69 63 |s a.suit|able tic|
|00001860| 6b 20 69 6e 74 65 72 76 | 61 6c 2e 0a 0a 3c 50 3e |k interv|al...<P>|
|00001870| 0a 6e 79 73 75 62 20 28 | 50 4c 49 4e 54 2c 20 69 |.nysub (|PLINT, i|
|00001880| 6e 70 75 74 29 4e 75 6d | 62 65 72 20 6f 66 20 73 |nput)Num|ber of s|
|00001890| 75 62 69 6e 74 65 72 76 | 61 6c 73 20 62 65 74 77 |ubinterv|als betw|
|000018a0| 65 65 6e 20 6d 61 6a 6f | 72 0a 79 20 61 78 69 73 |een majo|r.y axis|
|000018b0| 20 74 69 63 6b 73 20 66 | 6f 72 20 6d 69 6e 6f 72 | ticks f|or minor|
|000018c0| 20 74 69 63 6b 73 2e 20 | 20 49 66 20 69 74 20 69 | ticks. | If it i|
|000018d0| 73 20 73 65 74 20 74 6f | 20 7a 65 72 6f 2c 20 50 |s set to| zero, P|
|000018e0| 4c 70 6c 6f 74 20 61 75 | 74 6f 6d 61 74 69 63 61 |Lplot au|tomatica|
|000018f0| 6c 6c 79 0a 67 65 6e 65 | 72 61 74 65 73 20 61 20 |lly.gene|rates a |
|00001900| 73 75 69 74 61 62 6c 65 | 20 6d 69 6e 6f 72 20 74 |suitable| minor t|
|00001910| 69 63 6b 20 69 6e 74 65 | 72 76 61 6c 2e 0a 0a 3c |ick inte|rval...<|
|00001920| 50 3e 0a 26 23 31 38 34 | 3b 0a 3c 50 3e 0a 70 6c |P>.&#184|;.<P>.pl|
|00001930| 62 6f 78 33 2c 20 70 6c | 63 6c 72 2c 20 70 6c 62 |box3, pl|clr, plb|
|00001940| 6f 78 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 62 |ox, API.|.<P>.plb|
|00001950| 6f 78 33 28 78 6f 70 74 | 2c 20 78 6c 61 62 65 6c |ox3(xopt|, xlabel|
|00001960| 2c 20 78 74 69 63 6b 2c | 20 6e 78 73 75 62 2c 20 |, xtick,| nxsub, |
|00001970| 79 6f 70 74 2c 20 79 6c | 61 62 65 6c 2c 20 79 74 |yopt, yl|abel, yt|
|00001980| 69 63 6b 2c 20 6e 79 73 | 75 62 2c 20 0a 3c 42 52 |ick, nys|ub, .<BR|
|00001990| 3e 0a 7a 6f 70 74 2c 20 | 7a 6c 61 62 65 6c 2c 20 |>.zopt, |zlabel, |
|000019a0| 7a 74 69 63 6b 2c 20 6e | 7a 73 75 62 29 20 0a 3c |ztick, n|zsub) .<|
|000019b0| 41 20 49 44 3d 22 70 6c | 62 6f 78 33 22 3e 3c 2f |A ID="pl|box3"></|
|000019c0| 41 3e 70 6c 62 6f 78 33 | 0a 0a 26 23 31 38 34 3b |A>plbox3|..&#184;|
|000019d0| 26 23 31 38 34 3b 20 3c | 54 41 42 4c 45 20 43 45 |&#184; <|TABLE CE|
|000019e0| 4c 4c 50 41 44 44 49 4e | 47 3d 33 3e 0a 3c 54 52 |LLPADDIN|G=3>.<TR|
|000019f0| 3e 3c 54 44 20 41 4c 49 | 47 4e 3d 22 4c 45 46 54 |><TD ALI|GN="LEFT|
|00001a00| 22 3e 70 26 23 78 33 32 | 37 3b 6c 62 6f 78 33 28 |">p&#x32|7;lbox3(|
|00001a10| 3c 2f 54 44 3e 0a 3c 54 | 44 20 41 4c 49 47 4e 3d |</TD>.<T|D ALIGN=|
|00001a20| 22 4c 45 46 54 22 3e 26 | 6e 62 73 70 3b 3c 2f 54 |"LEFT">&|nbsp;</T|
|00001a30| 44 3e 3c 54 44 20 41 4c | 49 47 4e 3d 22 4c 45 46 |D><TD AL|IGN="LEF|
|00001a40| 54 22 3e 78 6f 70 74 2c | 20 78 6c 61 62 65 6c 2c |T">xopt,| xlabel,|
|00001a50| 20 78 74 69 63 6b 2c 20 | 6e 78 73 75 62 2c 20 79 | xtick, |nxsub, y|
|00001a60| 6f 70 74 2c 20 79 6c 61 | 62 65 6c 2c 20 79 74 69 |opt, yla|bel, yti|
|00001a70| 63 6b 2c 20 6e 79 73 75 | 62 2c 3c 2f 54 44 3e 0a |ck, nysu|b,</TD>.|
|00001a80| 3c 2f 54 52 3e 0a 3c 54 | 52 3e 3c 54 44 20 41 4c |</TR>.<T|R><TD AL|
|00001a90| 49 47 4e 3d 22 4c 45 46 | 54 22 3e 26 23 31 38 34 |IGN="LEF|T">&#184|
|00001aa0| 3b 3c 2f 54 44 3e 0a 3c | 54 44 20 41 4c 49 47 4e |;</TD>.<|TD ALIGN|
|00001ab0| 3d 22 4c 45 46 54 22 3e | 26 6e 62 73 70 3b 3c 2f |="LEFT">|&nbsp;</|
|00001ac0| 54 44 3e 3c 54 44 20 41 | 4c 49 47 4e 3d 22 4c 45 |TD><TD A|LIGN="LE|
|00001ad0| 46 54 22 3e 7a 6f 70 74 | 2c 20 7a 6c 61 62 65 6c |FT">zopt|, zlabel|
|00001ae0| 2c 20 7a 74 69 63 6b 2c | 20 6e 7a 73 75 62 29 0a |, ztick,| nzsub).|
|00001af0| 26 23 31 38 34 3b 3c 2f | 54 44 3e 0a 3c 2f 54 52 |&#184;</|TD>.</TR|
|00001b00| 3e 0a 3c 2f 54 41 42 4c | 45 3e 0a 26 23 31 38 34 |>.</TABL|E>.&#184|
|00001b10| 3b 0a 0a 3c 50 3e 0a 44 | 72 61 77 73 20 61 78 65 |;..<P>.D|raws axe|
|00001b20| 73 2c 20 6e 75 6d 65 72 | 69 63 20 61 6e 64 20 74 |s, numer|ic and t|
|00001b30| 65 78 74 20 6c 61 62 65 | 6c 73 20 66 6f 72 20 61 |ext labe|ls for a|
|00001b40| 20 74 68 72 65 65 2d 64 | 69 6d 65 6e 73 69 6f 6e | three-d|imension|
|00001b50| 61 6c 20 73 75 72 66 61 | 63 65 0a 70 6c 6f 74 2e |al surfa|ce.plot.|
|00001b60| 20 20 46 6f 72 20 61 20 | 6d 6f 72 65 20 63 6f 6d | For a |more com|
|00001b70| 70 6c 65 74 65 20 64 65 | 73 63 72 69 70 74 69 6f |plete de|scriptio|
|00001b80| 6e 20 6f 66 20 74 68 72 | 65 65 2d 64 69 6d 65 6e |n of thr|ee-dimen|
|00001b90| 73 69 6f 6e 61 6c 20 70 | 6c 6f 74 74 69 6e 67 0a |sional p|lotting.|
|00001ba0| 33 2d 64 20 50 6c 6f 74 | 73 2e 0a 0a 3c 50 3e 0a |3-d Plot|s...<P>.|
|00001bb0| 78 6f 70 74 20 28 63 68 | 61 72 20 2a 2c 20 69 6e |xopt (ch|ar *, in|
|00001bc0| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 63 |put)Poin|ter to c|
|00001bd0| 68 61 72 61 63 74 65 72 | 20 73 74 72 69 6e 67 20 |haracter| string |
|00001be0| 73 70 65 63 69 66 79 69 | 6e 67 0a 6f 70 74 69 6f |specifyi|ng.optio|
|00001bf0| 6e 73 20 66 6f 72 20 74 | 68 65 20 78 20 61 78 69 |ns for t|he x axi|
|00001c00| 73 2e 20 20 54 68 65 20 | 73 74 72 69 6e 67 20 63 |s. The |string c|
|00001c10| 61 6e 20 69 6e 63 6c 75 | 64 65 20 61 6e 79 20 63 |an inclu|de any c|
|00001c20| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 6f 66 20 74 68 |ombinati|on of th|
|00001c30| 65 0a 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 65 74 74 |e.follow|ing lett|
|00001c40| 65 72 73 20 28 75 70 70 | 65 72 20 6f 72 20 6c 6f |ers (upp|er or lo|
|00001c50| 77 65 72 20 63 61 73 65 | 29 20 69 6e 20 61 6e 79 |wer case|) in any|
|00001c60| 20 6f 72 64 65 72 3a 0a | 0a 3c 50 3e 0a 0a 3c 55 | order:.|.<P>..<U|
|00001c70| 4c 3e 0a 3c 4c 49 3e 62 | 3a 20 44 72 61 77 73 20 |L>.<LI>b|: Draws |
|00001c80| 61 78 69 73 20 61 74 20 | 62 61 73 65 2c 20 61 74 |axis at |base, at|
|00001c90| 20 68 65 69 67 68 74 20 | 7a 3d 7a 6d 69 6e 20 77 | height |z=zmin w|
|00001ca0| 68 65 72 65 20 7a 6d 69 | 6e 0a 69 73 20 64 65 66 |here zmi|n.is def|
|00001cb0| 69 6e 65 64 20 62 79 20 | 63 61 6c 6c 20 74 6f 20 |ined by |call to |
|00001cc0| 70 6c 77 33 64 2e 20 20 | 54 68 69 73 20 63 68 61 |plw3d. |This cha|
|00001cd0| 72 61 63 74 65 72 20 6d | 75 73 74 20 62 65 20 73 |racter m|ust be s|
|00001ce0| 70 65 63 69 66 69 65 64 | 20 69 6e 0a 6f 72 64 65 |pecified| in.orde|
|00001cf0| 72 20 74 6f 20 75 73 65 | 20 61 6e 79 20 6f 66 20 |r to use| any of |
|00001d00| 74 68 65 20 6f 74 68 65 | 72 20 6f 70 74 69 6f 6e |the othe|r option|
|00001d10| 73 2e 0a 0a 3c 50 3e 0a | 3c 2f 4c 49 3e 0a 3c 4c |s...<P>.|</LI>.<L|
|00001d20| 49 3e 69 3a 20 49 6e 76 | 65 72 74 73 20 74 69 63 |I>i: Inv|erts tic|
|00001d30| 6b 20 6d 61 72 6b 73 2c | 20 73 6f 20 74 68 65 79 |k marks,| so they|
|00001d40| 20 61 72 65 20 64 72 61 | 77 6e 20 64 6f 77 6e 77 | are dra|wn downw|
|00001d50| 61 72 64 73 2c 20 72 61 | 74 68 65 72 20 74 68 61 |ards, ra|ther tha|
|00001d60| 6e 0a 75 70 77 61 72 64 | 73 2e 0a 0a 3c 50 3e 0a |n.upward|s...<P>.|
|00001d70| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 6c 3a 20 4c 61 62 |</LI>.<L|I>l: Lab|
|00001d80| 65 6c 73 20 61 78 69 73 | 20 6c 6f 67 61 72 69 74 |els axis| logarit|
|00001d90| 68 6d 69 63 61 6c 6c 79 | 2e 20 20 54 68 69 73 20 |hmically|. This |
|00001da0| 6f 6e 6c 79 20 61 66 66 | 65 63 74 73 20 74 68 65 |only aff|ects the|
|00001db0| 20 6c 61 62 65 6c 73 2c | 20 0a 6e 6f 74 20 74 68 | labels,| .not th|
|00001dc0| 65 20 64 61 74 61 2c 20 | 61 6e 64 20 73 6f 20 69 |e data, |and so i|
|00001dd0| 74 20 69 73 20 6e 65 63 | 65 73 73 61 72 79 20 74 |t is nec|essary t|
|00001de0| 6f 20 63 6f 6d 70 75 74 | 65 20 74 68 65 20 6c 6f |o comput|e the lo|
|00001df0| 67 61 72 69 74 68 6d 73 | 20 6f 66 20 64 61 74 61 |garithms| of data|
|00001e00| 0a 70 6f 69 6e 74 73 20 | 62 65 66 6f 72 65 20 70 |.points |before p|
|00001e10| 61 73 73 69 6e 67 20 74 | 68 65 6d 20 74 6f 20 61 |assing t|hem to a|
|00001e20| 6e 79 20 6f 66 20 74 68 | 65 20 64 72 61 77 69 6e |ny of th|e drawin|
|00001e30| 67 20 72 6f 75 74 69 6e | 65 73 2e 0a 0a 3c 50 3e |g routin|es...<P>|
|00001e40| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 6e 3a 20 57 72 |.</LI>.<|LI>n: Wr|
|00001e50| 69 74 65 73 20 6e 75 6d | 65 72 69 63 20 6c 61 62 |ites num|eric lab|
|00001e60| 65 6c 73 20 61 74 20 6d | 61 6a 6f 72 20 74 69 63 |els at m|ajor tic|
|00001e70| 6b 20 69 6e 74 65 72 76 | 61 6c 73 2e 0a 0a 3c 50 |k interv|als...<P|
|00001e80| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 73 3a 20 45 |>.</LI>.|<LI>s: E|
|00001e90| 6e 61 62 6c 65 73 20 73 | 75 62 74 69 63 6b 73 20 |nables s|ubticks |
|00001ea0| 62 65 74 77 65 65 6e 20 | 6d 61 6a 6f 72 20 74 69 |between |major ti|
|00001eb0| 63 6b 73 2c 20 6f 6e 6c | 79 20 76 61 6c 69 64 20 |cks, onl|y valid |
|00001ec0| 69 66 20 74 20 69 73 0a | 61 6c 73 6f 20 73 70 65 |if t is.|also spe|
|00001ed0| 63 69 66 69 65 64 2e 0a | 0a 3c 50 3e 0a 3c 2f 4c |cified..|.<P>.</L|
|00001ee0| 49 3e 0a 3c 4c 49 3e 74 | 3a 20 44 72 61 77 73 20 |I>.<LI>t|: Draws |
|00001ef0| 6d 61 6a 6f 72 20 74 69 | 63 6b 73 2e 0a 0a 3c 50 |major ti|cks...<P|
|00001f00| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 75 3a 20 49 |>.</LI>.|<LI>u: I|
|00001f10| 66 20 74 68 69 73 20 69 | 73 20 73 70 65 63 69 66 |f this i|s specif|
|00001f20| 69 65 64 2c 20 74 68 65 | 20 74 65 78 74 20 6c 61 |ied, the| text la|
|00001f30| 62 65 6c 20 66 6f 72 20 | 74 68 65 20 61 78 69 73 |bel for |the axis|
|00001f40| 20 69 73 20 77 72 69 74 | 74 65 6e 0a 75 6e 64 65 | is writ|ten.unde|
|00001f50| 72 20 74 68 65 20 61 78 | 69 73 2e 0a 3c 2f 4c 49 |r the ax|is..</LI|
|00001f60| 3e 0a 3c 2f 55 4c 3e 0a | 0a 3c 50 3e 0a 78 6c 61 |>.</UL>.|.<P>.xla|
|00001f70| 62 65 6c 20 28 63 68 61 | 72 20 2a 2c 20 69 6e 70 |bel (cha|r *, inp|
|00001f80| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 63 68 |ut)Point|er to ch|
|00001f90| 61 72 61 63 74 65 72 20 | 73 74 72 69 6e 67 20 73 |aracter |string s|
|00001fa0| 70 65 63 69 66 79 69 6e | 67 0a 74 65 78 74 20 6c |pecifyin|g.text l|
|00001fb0| 61 62 65 6c 20 66 6f 72 | 20 74 68 65 20 78 20 61 |abel for| the x a|
|00001fc0| 78 69 73 2e 20 20 49 74 | 20 69 73 20 6f 6e 6c 79 |xis. It| is only|
|00001fd0| 20 64 72 61 77 6e 20 69 | 66 20 75 20 69 73 20 69 | drawn i|f u is i|
|00001fe0| 6e 20 74 68 65 20 78 6f | 70 74 0a 73 74 72 69 6e |n the xo|pt.strin|
|00001ff0| 67 2e 0a 0a 3c 50 3e 0a | 78 74 69 63 6b 20 28 50 |g...<P>.|xtick (P|
|00002000| 4c 46 4c 54 2c 20 69 6e | 70 75 74 29 57 6f 72 6c |LFLT, in|put)Worl|
|00002010| 64 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 69 6e 74 |d coordi|nate int|
|00002020| 65 72 76 61 6c 20 62 65 | 74 77 65 65 6e 20 6d 61 |erval be|tween ma|
|00002030| 6a 6f 72 0a 74 69 63 6b | 73 20 6f 6e 20 74 68 65 |jor.tick|s on the|
|00002040| 20 78 20 61 78 69 73 2e | 20 20 49 66 20 69 74 20 | x axis.| If it |
|00002050| 69 73 20 73 65 74 20 74 | 6f 20 7a 65 72 6f 2c 20 |is set t|o zero, |
|00002060| 50 4c 70 6c 6f 74 20 61 | 75 74 6f 6d 61 74 69 63 |PLplot a|utomatic|
|00002070| 61 6c 6c 79 20 67 65 6e | 65 72 61 74 65 73 20 61 |ally gen|erates a|
|00002080| 0a 73 75 69 74 61 62 6c | 65 20 74 69 63 6b 20 69 |.suitabl|e tick i|
|00002090| 6e 74 65 72 76 61 6c 2e | 0a 0a 3c 50 3e 0a 6e 78 |nterval.|..<P>.nx|
|000020a0| 73 75 62 20 28 50 4c 49 | 4e 54 2c 20 69 6e 70 75 |sub (PLI|NT, inpu|
|000020b0| 74 29 4e 75 6d 62 65 72 | 20 6f 66 20 73 75 62 69 |t)Number| of subi|
|000020c0| 6e 74 65 72 76 61 6c 73 | 20 62 65 74 77 65 65 6e |ntervals| between|
|000020d0| 20 6d 61 6a 6f 72 0a 78 | 20 61 78 69 73 20 74 69 | major.x| axis ti|
|000020e0| 63 6b 73 20 66 6f 72 20 | 6d 69 6e 6f 72 20 74 69 |cks for |minor ti|
|000020f0| 63 6b 73 2e 20 20 49 66 | 20 69 74 20 69 73 20 73 |cks. If| it is s|
|00002100| 65 74 20 74 6f 20 7a 65 | 72 6f 2c 20 50 4c 70 6c |et to ze|ro, PLpl|
|00002110| 6f 74 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ot autom|atically|
|00002120| 0a 67 65 6e 65 72 61 74 | 65 73 20 61 20 73 75 69 |.generat|es a sui|
|00002130| 74 61 62 6c 65 20 6d 69 | 6e 6f 72 20 74 69 63 6b |table mi|nor tick|
|00002140| 20 69 6e 74 65 72 76 61 | 6c 2e 0a 0a 3c 50 3e 0a | interva|l...<P>.|
|00002150| 79 6f 70 74 20 28 63 68 | 61 72 20 2a 2c 20 69 6e |yopt (ch|ar *, in|
|00002160| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 63 |put)Poin|ter to c|
|00002170| 68 61 72 61 63 74 65 72 | 20 73 74 72 69 6e 67 20 |haracter| string |
|00002180| 73 70 65 63 69 66 79 69 | 6e 67 0a 6f 70 74 69 6f |specifyi|ng.optio|
|00002190| 6e 73 20 66 6f 72 20 74 | 68 65 20 79 20 61 78 69 |ns for t|he y axi|
|000021a0| 73 2e 20 20 54 68 65 20 | 73 74 72 69 6e 67 20 69 |s. The |string i|
|000021b0| 73 20 69 6e 74 65 72 70 | 72 65 74 65 64 20 69 6e |s interp|reted in|
|000021c0| 20 74 68 65 20 73 61 6d | 65 20 77 61 79 20 61 73 | the sam|e way as|
|000021d0| 0a 78 6f 70 74 2e 0a 0a | 3c 50 3e 0a 79 6c 61 62 |.xopt...|<P>.ylab|
|000021e0| 65 6c 20 28 63 68 61 72 | 20 2a 2c 20 69 6e 70 75 |el (char| *, inpu|
|000021f0| 74 29 50 6f 69 6e 74 65 | 72 20 74 6f 20 63 68 61 |t)Pointe|r to cha|
|00002200| 72 61 63 74 65 72 20 73 | 74 72 69 6e 67 20 73 70 |racter s|tring sp|
|00002210| 65 63 69 66 79 69 6e 67 | 0a 74 65 78 74 20 6c 61 |ecifying|.text la|
|00002220| 62 65 6c 20 66 6f 72 20 | 74 68 65 20 79 20 61 78 |bel for |the y ax|
|00002230| 69 73 2e 20 20 49 74 20 | 69 73 20 6f 6e 6c 79 20 |is. It |is only |
|00002240| 64 72 61 77 6e 20 69 66 | 20 75 20 69 73 20 69 6e |drawn if| u is in|
|00002250| 20 74 68 65 20 79 6f 70 | 74 0a 73 74 72 69 6e 67 | the yop|t.string|
|00002260| 2e 0a 0a 3c 50 3e 0a 79 | 74 69 63 6b 20 28 50 4c |...<P>.y|tick (PL|
|00002270| 46 4c 54 2c 20 69 6e 70 | 75 74 29 57 6f 72 6c 64 |FLT, inp|ut)World|
|00002280| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 69 6e 74 65 | coordin|ate inte|
|00002290| 72 76 61 6c 20 62 65 74 | 77 65 65 6e 20 6d 61 6a |rval bet|ween maj|
|000022a0| 6f 72 0a 74 69 63 6b 73 | 20 6f 6e 20 74 68 65 20 |or.ticks| on the |
|000022b0| 79 20 61 78 69 73 2e 20 | 20 49 66 20 69 74 20 69 |y axis. | If it i|
|000022c0| 73 20 73 65 74 20 74 6f | 20 7a 65 72 6f 2c 20 50 |s set to| zero, P|
|000022d0| 4c 70 6c 6f 74 20 61 75 | 74 6f 6d 61 74 69 63 61 |Lplot au|tomatica|
|000022e0| 6c 6c 79 20 67 65 6e 65 | 72 61 74 65 73 20 61 0a |lly gene|rates a.|
|000022f0| 73 75 69 74 61 62 6c 65 | 20 74 69 63 6b 20 69 6e |suitable| tick in|
|00002300| 74 65 72 76 61 6c 2e 0a | 0a 3c 50 3e 0a 6e 79 73 |terval..|.<P>.nys|
|00002310| 75 62 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |ub (PLIN|T, input|
|00002320| 29 4e 75 6d 62 65 72 20 | 6f 66 20 73 75 62 69 6e |)Number |of subin|
|00002330| 74 65 72 76 61 6c 73 20 | 62 65 74 77 65 65 6e 20 |tervals |between |
|00002340| 6d 61 6a 6f 72 0a 79 20 | 61 78 69 73 20 74 69 63 |major.y |axis tic|
|00002350| 6b 73 20 66 6f 72 20 6d | 69 6e 6f 72 20 74 69 63 |ks for m|inor tic|
|00002360| 6b 73 2e 20 20 49 66 20 | 69 74 20 69 73 20 73 65 |ks. If |it is se|
|00002370| 74 20 74 6f 20 7a 65 72 | 6f 2c 20 50 4c 70 6c 6f |t to zer|o, PLplo|
|00002380| 74 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 0a |t automa|tically.|
|00002390| 67 65 6e 65 72 61 74 65 | 73 20 61 20 73 75 69 74 |generate|s a suit|
|000023a0| 61 62 6c 65 20 6d 69 6e | 6f 72 20 74 69 63 6b 20 |able min|or tick |
|000023b0| 69 6e 74 65 72 76 61 6c | 2e 0a 0a 3c 50 3e 0a 7a |interval|...<P>.z|
|000023c0| 6f 70 74 20 28 63 68 61 | 72 20 2a 2c 20 69 6e 70 |opt (cha|r *, inp|
|000023d0| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 63 68 |ut)Point|er to ch|
|000023e0| 61 72 61 63 74 65 72 20 | 73 74 72 69 6e 67 20 73 |aracter |string s|
|000023f0| 70 65 63 69 66 79 69 6e | 67 0a 6f 70 74 69 6f 6e |pecifyin|g.option|
|00002400| 73 20 66 6f 72 20 74 68 | 65 20 7a 20 61 78 69 73 |s for th|e z axis|
|00002410| 2e 20 20 54 68 65 20 73 | 74 72 69 6e 67 20 63 61 |. The s|tring ca|
|00002420| 6e 20 69 6e 63 6c 75 64 | 65 20 61 6e 79 20 63 6f |n includ|e any co|
|00002430| 6d 62 69 6e 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |mbinatio|n of the|
|00002440| 0a 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 65 74 74 65 |.followi|ng lette|
|00002450| 72 73 20 28 75 70 70 65 | 72 20 6f 72 20 6c 6f 77 |rs (uppe|r or low|
|00002460| 65 72 20 63 61 73 65 29 | 20 69 6e 20 61 6e 79 20 |er case)| in any |
|00002470| 6f 72 64 65 72 3a 0a 0a | 3c 50 3e 0a 0a 3c 55 4c |order:..|<P>..<UL|
|00002480| 3e 0a 3c 4c 49 3e 62 3a | 20 44 72 61 77 73 20 7a |>.<LI>b:| Draws z|
|00002490| 20 61 78 69 73 20 74 6f | 20 74 68 65 20 6c 65 66 | axis to| the lef|
|000024a0| 74 20 6f 66 20 74 68 65 | 20 73 75 72 66 61 63 65 |t of the| surface|
|000024b0| 20 70 6c 6f 74 2e 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 | plot...|<P>.</LI|
|000024c0| 3e 0a 3c 4c 49 3e 63 3a | 20 44 72 61 77 73 20 7a |>.<LI>c:| Draws z|
|000024d0| 20 61 78 69 73 20 74 6f | 20 74 68 65 20 72 69 67 | axis to| the rig|
|000024e0| 68 74 20 6f 66 20 74 68 | 65 20 73 75 72 66 61 63 |ht of th|e surfac|
|000024f0| 65 20 70 6c 6f 74 2e 0a | 0a 3c 50 3e 0a 3c 2f 4c |e plot..|.<P>.</L|
|00002500| 49 3e 0a 3c 4c 49 3e 64 | 3a 20 44 72 61 77 73 20 |I>.<LI>d|: Draws |
|00002510| 67 72 69 64 20 6c 69 6e | 65 73 20 70 61 72 61 6c |grid lin|es paral|
|00002520| 6c 65 6c 20 74 6f 20 74 | 68 65 20 78 2d 79 20 70 |lel to t|he x-y p|
|00002530| 6c 61 6e 65 20 62 65 68 | 69 6e 64 20 74 68 65 20 |lane beh|ind the |
|00002540| 66 69 67 75 72 65 2e 0a | 54 68 65 73 65 20 6c 69 |figure..|These li|
|00002550| 6e 65 73 20 61 72 65 20 | 6e 6f 74 20 64 72 61 77 |nes are |not draw|
|00002560| 6e 20 75 6e 74 69 6c 20 | 61 66 74 65 72 20 70 6c |n until |after pl|
|00002570| 6f 74 33 64 20 6f 72 20 | 70 6c 6d 65 73 68 20 61 |ot3d or |plmesh a|
|00002580| 72 65 20 63 61 6c 6c 65 | 64 0a 62 65 63 61 75 73 |re calle|d.becaus|
|00002590| 65 20 6f 66 20 74 68 65 | 20 6e 65 65 64 20 66 6f |e of the| need fo|
|000025a0| 72 20 68 69 64 64 65 6e | 20 6c 69 6e 65 20 72 65 |r hidden| line re|
|000025b0| 6d 6f 76 61 6c 2e 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 |moval...|<P>.</LI|
|000025c0| 3e 0a 3c 4c 49 3e 69 3a | 20 49 6e 76 65 72 74 73 |>.<LI>i:| Inverts|
|000025d0| 20 74 69 63 6b 20 6d 61 | 72 6b 73 2c 20 73 6f 20 | tick ma|rks, so |
|000025e0| 74 68 65 79 20 61 72 65 | 20 64 72 61 77 6e 20 61 |they are| drawn a|
|000025f0| 77 61 79 20 66 72 6f 6d | 20 74 68 65 20 63 65 6e |way from| the cen|
|00002600| 74 65 72 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |ter...<P|>.</LI>.|
|00002610| 3c 4c 49 3e 6c 3a 20 4c | 61 62 65 6c 73 20 61 78 |<LI>l: L|abels ax|
|00002620| 69 73 20 6c 6f 67 61 72 | 69 74 68 6d 69 63 61 6c |is logar|ithmical|
|00002630| 6c 79 2e 20 20 54 68 69 | 73 20 6f 6e 6c 79 20 61 |ly. Thi|s only a|
|00002640| 66 66 65 63 74 73 20 74 | 68 65 20 6c 61 62 65 6c |ffects t|he label|
|00002650| 73 2c 20 0a 6e 6f 74 20 | 74 68 65 20 64 61 74 61 |s, .not |the data|
|00002660| 2c 20 61 6e 64 20 73 6f | 20 69 74 20 69 73 20 6e |, and so| it is n|
|00002670| 65 63 65 73 73 61 72 79 | 20 74 6f 20 63 6f 6d 70 |ecessary| to comp|
|00002680| 75 74 65 20 74 68 65 20 | 6c 6f 67 61 72 69 74 68 |ute the |logarith|
|00002690| 6d 73 20 6f 66 20 64 61 | 74 61 0a 70 6f 69 6e 74 |ms of da|ta.point|
|000026a0| 73 20 62 65 66 6f 72 65 | 20 70 61 73 73 69 6e 67 |s before| passing|
|000026b0| 20 74 68 65 6d 20 74 6f | 20 61 6e 79 20 6f 66 20 | them to| any of |
|000026c0| 74 68 65 20 64 72 61 77 | 69 6e 67 20 72 6f 75 74 |the draw|ing rout|
|000026d0| 69 6e 65 73 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |ines...<|P>.</LI>|
|000026e0| 0a 3c 4c 49 3e 6d 3a 20 | 57 72 69 74 65 73 20 6e |.<LI>m: |Writes n|
|000026f0| 75 6d 65 72 69 63 20 6c | 61 62 65 6c 73 20 61 74 |umeric l|abels at|
|00002700| 20 6d 61 6a 6f 72 20 74 | 69 63 6b 20 69 6e 74 65 | major t|ick inte|
|00002710| 72 76 61 6c 73 20 6f 6e | 20 74 68 65 20 72 69 67 |rvals on| the rig|
|00002720| 68 74 2d 68 61 6e 64 0a | 76 65 72 69 63 61 6c 20 |ht-hand.|verical |
|00002730| 61 78 69 73 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |axis...<|P>.</LI>|
|00002740| 0a 3c 4c 49 3e 6e 3a 20 | 57 72 69 74 65 73 20 6e |.<LI>n: |Writes n|
|00002750| 75 6d 65 72 69 63 20 6c | 61 62 65 6c 73 20 61 74 |umeric l|abels at|
|00002760| 20 6d 61 6a 6f 72 20 74 | 69 63 6b 20 69 6e 74 65 | major t|ick inte|
|00002770| 72 76 61 6c 73 20 6f 6e | 20 74 68 65 20 6c 65 66 |rvals on| the lef|
|00002780| 74 2d 68 61 6e 64 0a 76 | 65 72 69 63 61 6c 20 61 |t-hand.v|erical a|
|00002790| 78 69 73 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |xis...<P|>.</LI>.|
|000027a0| 3c 4c 49 3e 73 3a 20 45 | 6e 61 62 6c 65 73 20 73 |<LI>s: E|nables s|
|000027b0| 75 62 74 69 63 6b 73 20 | 62 65 74 77 65 65 6e 20 |ubticks |between |
|000027c0| 6d 61 6a 6f 72 20 74 69 | 63 6b 73 2c 20 6f 6e 6c |major ti|cks, onl|
|000027d0| 79 20 76 61 6c 69 64 20 | 69 66 20 74 20 69 73 0a |y valid |if t is.|
|000027e0| 61 6c 73 6f 20 73 70 65 | 63 69 66 69 65 64 2e 0a |also spe|cified..|
|000027f0| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 74 |.<P>.</L|I>.<LI>t|
|00002800| 3a 20 44 72 61 77 73 20 | 6d 61 6a 6f 72 20 74 69 |: Draws |major ti|
|00002810| 63 6b 73 2e 0a 0a 3c 50 | 3e 0a 3c 2f 4c 49 3e 0a |cks...<P|>.</LI>.|
|00002820| 3c 4c 49 3e 75 3a 20 49 | 66 20 74 68 69 73 20 69 |<LI>u: I|f this i|
|00002830| 73 20 73 70 65 63 69 66 | 69 65 64 2c 20 74 68 65 |s specif|ied, the|
|00002840| 20 74 65 78 74 20 6c 61 | 62 65 6c 20 69 73 20 77 | text la|bel is w|
|00002850| 72 69 74 74 65 6e 20 62 | 65 73 69 64 65 20 74 68 |ritten b|eside th|
|00002860| 65 0a 6c 65 66 74 2d 68 | 61 6e 64 20 61 78 69 73 |e.left-h|and axis|
|00002870| 2e 0a 0a 3c 50 3e 0a 3c | 2f 4c 49 3e 0a 3c 4c 49 |...<P>.<|/LI>.<LI|
|00002880| 3e 76 3a 20 49 66 20 74 | 68 69 73 20 69 73 20 73 |>v: If t|his is s|
|00002890| 70 65 63 69 66 69 65 64 | 2c 20 74 68 65 20 74 65 |pecified|, the te|
|000028a0| 78 74 20 6c 61 62 65 6c | 20 69 73 20 77 72 69 74 |xt label| is writ|
|000028b0| 74 65 6e 20 62 65 73 69 | 64 65 20 74 68 65 0a 72 |ten besi|de the.r|
|000028c0| 69 67 68 74 2d 68 61 6e | 64 20 61 78 69 73 2e 0a |ight-han|d axis..|
|000028d0| 3c 2f 4c 49 3e 0a 3c 2f | 55 4c 3e 0a 0a 3c 50 3e |</LI>.</|UL>..<P>|
|000028e0| 0a 7a 6c 61 62 65 6c 20 | 28 63 68 61 72 20 2a 2c |.zlabel |(char *,|
|000028f0| 20 69 6e 70 75 74 29 50 | 6f 69 6e 74 65 72 20 74 | input)P|ointer t|
|00002900| 6f 20 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |o charac|ter stri|
|00002910| 6e 67 20 73 70 65 63 69 | 66 79 69 6e 67 0a 74 65 |ng speci|fying.te|
|00002920| 78 74 20 6c 61 62 65 6c | 20 66 6f 72 20 74 68 65 |xt label| for the|
|00002930| 20 7a 20 61 78 69 73 2e | 20 20 49 74 20 69 73 20 | z axis.| It is |
|00002940| 6f 6e 6c 79 20 64 72 61 | 77 6e 20 69 66 20 75 20 |only dra|wn if u |
|00002950| 6f 72 20 76 20 61 72 65 | 20 69 6e 0a 74 68 65 20 |or v are| in.the |
|00002960| 7a 6f 70 74 20 73 74 72 | 69 6e 67 2e 0a 0a 3c 50 |zopt str|ing...<P|
|00002970| 3e 0a 7a 74 69 63 6b 20 | 28 50 4c 46 4c 54 2c 20 |>.ztick |(PLFLT, |
|00002980| 69 6e 70 75 74 29 57 6f | 72 6c 64 20 63 6f 6f 72 |input)Wo|rld coor|
|00002990| 64 69 6e 61 74 65 20 69 | 6e 74 65 72 76 61 6c 20 |dinate i|nterval |
|000029a0| 62 65 74 77 65 65 6e 20 | 6d 61 6a 6f 72 0a 74 69 |between |major.ti|
|000029b0| 63 6b 73 20 6f 6e 20 74 | 68 65 20 7a 20 61 78 69 |cks on t|he z axi|
|000029c0| 73 2e 20 20 49 66 20 69 | 74 20 69 73 20 73 65 74 |s. If i|t is set|
|000029d0| 20 74 6f 20 7a 65 72 6f | 2c 20 50 4c 70 6c 6f 74 | to zero|, PLplot|
|000029e0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 67 | automat|ically g|
|000029f0| 65 6e 65 72 61 74 65 73 | 20 61 0a 73 75 69 74 61 |enerates| a.suita|
|00002a00| 62 6c 65 20 74 69 63 6b | 20 69 6e 74 65 72 76 61 |ble tick| interva|
|00002a10| 6c 2e 0a 0a 3c 50 3e 0a | 6e 7a 73 75 62 20 28 50 |l...<P>.|nzsub (P|
|00002a20| 4c 49 4e 54 2c 20 69 6e | 70 75 74 29 4e 75 6d 62 |LINT, in|put)Numb|
|00002a30| 65 72 20 6f 66 20 73 75 | 62 69 6e 74 65 72 76 61 |er of su|binterva|
|00002a40| 6c 73 20 62 65 74 77 65 | 65 6e 20 6d 61 6a 6f 72 |ls betwe|en major|
|00002a50| 0a 7a 20 61 78 69 73 20 | 74 69 63 6b 73 20 66 6f |.z axis |ticks fo|
|00002a60| 72 20 6d 69 6e 6f 72 20 | 74 69 63 6b 73 2e 20 20 |r minor |ticks. |
|00002a70| 49 66 20 69 74 20 69 73 | 20 73 65 74 20 74 6f 20 |If it is| set to |
|00002a80| 7a 65 72 6f 2c 20 50 4c | 70 6c 6f 74 20 61 75 74 |zero, PL|plot aut|
|00002a90| 6f 6d 61 74 69 63 61 6c | 6c 79 0a 67 65 6e 65 72 |omatical|ly.gener|
|00002aa0| 61 74 65 73 20 61 20 73 | 75 69 74 61 62 6c 65 20 |ates a s|uitable |
|00002ab0| 6d 69 6e 6f 72 20 74 69 | 63 6b 20 69 6e 74 65 72 |minor ti|ck inter|
|00002ac0| 76 61 6c 2e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |val...<P|>.&#184;|
|00002ad0| 0a 3c 50 3e 0a 70 6c 63 | 6c 72 2c 20 70 6c 63 6f |.<P>.plc|lr, plco|
|00002ae0| 6c 2c 20 70 6c 62 6f 78 | 33 2c 20 41 50 49 0a 0a |l, plbox|3, API..|
|00002af0| 3c 50 3e 0a 70 6c 63 6c | 72 28 29 0a 3c 41 20 49 |<P>.plcl|r().<A I|
|00002b00| 44 3d 22 62 6e 61 6d 65 | 22 3e 3c 2f 41 3e 70 6c |D="bname|"></A>pl|
|00002b10| 63 6c 72 0a 0a 3c 50 3e | 0a 43 6c 65 61 72 73 20 |clr..<P>|.Clears |
|00002b20| 74 68 65 20 67 72 61 70 | 68 69 63 73 20 73 63 72 |the grap|hics scr|
|00002b30| 65 65 6e 20 6f 66 20 61 | 6e 20 69 6e 74 65 72 61 |een of a|n intera|
|00002b40| 63 74 69 76 65 20 64 65 | 76 69 63 65 2c 20 6f 72 |ctive de|vice, or|
|00002b50| 20 65 6a 65 63 74 73 20 | 61 0a 70 61 67 65 20 6f | ejects |a.page o|
|00002b60| 6e 20 61 20 70 6c 6f 74 | 74 65 72 2e 20 20 70 6c |n a plot|ter. pl|
|00002b70| 70 61 67 65 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |page for| more in|
|00002b80| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 0a 3c 50 3e 0a |formatio|n...<P>.|
|00002b90| 26 23 31 38 34 3b 0a 3c | 50 3e 0a 70 6c 63 6f 6c |&#184;.<|P>.plcol|
|00002ba0| 2c 20 70 6c 63 6f 6e 30 | 2c 20 70 6c 63 6c 72 2c |, plcon0|, plclr,|
|00002bb0| 20 41 50 49 0a 0a 3c 50 | 3e 0a 70 6c 63 6f 6c 28 | API..<P|>.plcol(|
|00002bc0| 63 6f 6c 6f 72 29 0a 3c | 41 20 49 44 3d 22 70 6c |color).<|A ID="pl|
|00002bd0| 63 6f 6c 22 3e 3c 2f 41 | 3e 70 6c 63 6f 6c 0a 0a |col"></A|>plcol..|
|00002be0| 3c 50 3e 0a 53 65 74 73 | 20 74 68 65 20 63 6f 6c |<P>.Sets| the col|
|00002bf0| 6f 72 20 66 6f 72 20 73 | 75 62 73 65 71 75 65 6e |or for s|ubsequen|
|00002c00| 74 20 6c 69 6e 65 73 2e | 0a 0a 3c 50 3e 0a 63 6f |t lines.|..<P>.co|
|00002c10| 6c 6f 72 20 28 50 4c 49 | 4e 54 2c 20 69 6e 70 75 |lor (PLI|NT, inpu|
|00002c20| 74 29 49 6e 74 65 67 65 | 72 20 72 65 70 72 65 73 |t)Intege|r repres|
|00002c30| 65 6e 74 69 6e 67 20 74 | 68 65 20 63 6f 6c 6f 72 |enting t|he color|
|00002c40| 2e 20 20 54 68 65 0a 64 | 65 66 61 75 6c 74 73 20 |. The.d|efaults |
|00002c50| 61 74 20 70 72 65 73 65 | 6e 74 20 61 72 65 20 28 |at prese|nt are (|
|00002c60| 74 68 65 73 65 20 6d 61 | 79 20 63 68 61 6e 67 65 |these ma|y change|
|00002c70| 29 3a 0a 0a 3c 50 3e 0a | 0a 3c 4f 4c 3e 0a 3c 4c |):..<P>.|.<OL>.<L|
|00002c80| 49 3e 62 6c 61 63 6b 20 | 28 64 65 66 61 75 6c 74 |I>black |(default|
|00002c90| 20 62 61 63 6b 67 72 6f | 75 6e 64 29 0a 3c 2f 4c | backgro|und).</L|
|00002ca0| 49 3e 0a 3c 4c 49 3e 72 | 65 64 0a 3c 2f 4c 49 3e |I>.<LI>r|ed.</LI>|
|00002cb0| 0a 3c 4c 49 3e 79 65 6c | 6c 6f 77 0a 3c 2f 4c 49 |.<LI>yel|low.</LI|
|00002cc0| 3e 0a 3c 4c 49 3e 67 72 | 65 65 6e 0a 3c 2f 4c 49 |>.<LI>gr|een.</LI|
|00002cd0| 3e 0a 3c 4c 49 3e 61 71 | 75 61 6d 61 72 69 6e 65 |>.<LI>aq|uamarine|
|00002ce0| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 70 69 6e 6b 0a |.</LI>.<|LI>pink.|
|00002cf0| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 77 68 65 61 74 0a |</LI>.<L|I>wheat.|
|00002d00| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 67 72 65 79 0a 3c |</LI>.<L|I>grey.<|
|00002d10| 2f 4c 49 3e 0a 3c 4c 49 | 3e 62 72 6f 77 6e 0a 3c |/LI>.<LI|>brown.<|
|00002d20| 2f 4c 49 3e 0a 3c 4c 49 | 3e 62 6c 75 65 0a 3c 2f |/LI>.<LI|>blue.</|
|00002d30| 4c 49 3e 0a 3c 4c 49 3e | 42 6c 75 65 56 69 6f 6c |LI>.<LI>|BlueViol|
|00002d40| 65 74 0a 3c 2f 4c 49 3e | 0a 3c 4c 49 3e 63 79 61 |et.</LI>|.<LI>cya|
|00002d50| 6e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 74 75 72 71 |n.</LI>.|<LI>turq|
|00002d60| 75 6f 69 73 65 0a 3c 2f | 4c 49 3e 0a 3c 4c 49 3e |uoise.</|LI>.<LI>|
|00002d70| 6d 61 67 65 6e 74 61 0a | 3c 2f 4c 49 3e 0a 3c 4c |magenta.|</LI>.<L|
|00002d80| 49 3e 73 61 6c 6d 6f 6e | 0a 3c 2f 4c 49 3e 0a 3c |I>salmon|.</LI>.<|
|00002d90| 4c 49 3e 77 68 69 74 65 | 20 28 64 65 66 61 75 6c |LI>white| (defaul|
|00002da0| 74 20 66 6f 72 65 67 72 | 6f 75 6e 64 29 0a 3c 2f |t foregr|ound).</|
|00002db0| 4c 49 3e 0a 3c 2f 4f 4c | 3e 0a 0a 3c 50 3e 0a 26 |LI>.</OL|>..<P>.&|
|00002dc0| 23 31 38 34 3b 0a 3c 50 | 3e 0a 70 6c 63 6f 6e 30 |#184;.<P|>.plcon0|
|00002dd0| 2c 20 70 6c 63 6f 6e 31 | 2c 20 70 6c 63 6f 6c 2c |, plcon1|, plcol,|
|00002de0| 20 41 50 49 0a 0a 3c 50 | 3e 0a 70 6c 63 6f 6e 30 | API..<P|>.plcon0|
|00002df0| 28 7a 2c 20 6e 78 2c 20 | 6e 79 2c 20 6b 78 2c 20 |(z, nx, |ny, kx, |
|00002e00| 6c 78 2c 20 6b 79 2c 20 | 6c 79 2c 20 63 6c 65 76 |lx, ky, |ly, clev|
|00002e10| 65 6c 2c 20 6e 6c 65 76 | 65 6c 29 0a 3c 41 20 49 |el, nlev|el).<A I|
|00002e20| 44 3d 22 70 6c 63 6f 6e | 30 22 3e 3c 2f 41 3e 70 |D="plcon|0"></A>p|
|00002e30| 6c 63 6f 6e 30 0a 0a 3c | 50 3e 0a 44 72 61 77 73 |lcon0..<|P>.Draws|
|00002e40| 20 61 20 63 6f 6e 74 6f | 75 72 20 70 6c 6f 74 20 | a conto|ur plot |
|00002e50| 6f 66 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 7a |of the d|ata in z|
|00002e60| 5b 6e 78 5d 5b 6e 79 5d | 2c 20 75 73 69 6e 67 20 |[nx][ny]|, using |
|00002e70| 74 68 65 0a 6e 6c 65 76 | 65 6c 20 63 6f 6e 74 6f |the.nlev|el conto|
|00002e80| 75 72 20 6c 65 76 65 6c | 73 20 73 70 65 63 69 66 |ur level|s specif|
|00002e90| 69 65 64 20 62 79 20 63 | 6c 65 76 65 6c 2e 20 20 |ied by c|level. |
|00002ea0| 4f 6e 6c 79 20 74 68 65 | 20 72 65 67 69 6f 6e 0a |Only the| region.|
|00002eb0| 6f 66 20 74 68 65 20 61 | 72 72 61 79 20 66 72 6f |of the a|rray fro|
|00002ec0| 6d 20 6b 78 20 74 6f 20 | 6c 78 20 61 6e 64 20 66 |m kx to |lx and f|
|00002ed0| 72 6f 6d 20 6b 79 20 74 | 6f 20 6c 79 0a 69 73 20 |rom ky t|o ly.is |
|00002ee0| 70 6c 6f 74 74 65 64 20 | 6f 75 74 2e 20 20 43 6f |plotted |out. Co|
|00002ef0| 6e 74 6f 75 72 20 70 6c | 6f 74 73 20 66 6f 72 20 |ntour pl|ots for |
|00002f00| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00002f10| 2e 0a 0a 3c 50 3e 0a 7a | 20 28 50 4c 46 4c 54 20 |...<P>.z| (PLFLT |
|00002f20| 2a 2a 2c 20 69 6e 70 75 | 74 29 50 6f 69 6e 74 65 |**, inpu|t)Pointe|
|00002f30| 72 20 74 6f 20 61 20 76 | 65 63 74 6f 72 65 64 20 |r to a v|ectored |
|00002f40| 74 77 6f 2d 64 69 6d 65 | 6e 73 69 6f 6e 61 6c 20 |two-dime|nsional |
|00002f50| 61 72 72 61 79 0a 63 6f | 6e 74 61 69 6e 69 6e 67 |array.co|ntaining|
|00002f60| 20 64 61 74 61 20 74 6f | 20 62 65 20 63 6f 6e 74 | data to| be cont|
|00002f70| 6f 75 72 65 64 2e 0a 0a | 3c 50 3e 0a 6e 78 2c 20 |oured...|<P>.nx, |
|00002f80| 6e 79 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |ny (PLIN|T, input|
|00002f90| 29 50 68 79 73 69 63 61 | 6c 20 64 69 6d 65 6e 73 |)Physica|l dimens|
|00002fa0| 69 6f 6e 73 20 6f 66 20 | 61 72 72 61 79 20 7a 2e |ions of |array z.|
|00002fb0| 0a 0a 3c 50 3e 0a 6b 78 | 2c 20 6c 78 20 28 50 4c |..<P>.kx|, lx (PL|
|00002fc0| 49 4e 54 2c 20 69 6e 70 | 75 74 29 52 61 6e 67 65 |INT, inp|ut)Range|
|00002fd0| 20 6f 66 20 78 20 69 6e | 64 69 63 69 65 73 20 74 | of x in|dicies t|
|00002fe0| 6f 20 63 6f 6e 73 69 64 | 65 72 2e 0a 0a 3c 50 3e |o consid|er...<P>|
|00002ff0| 0a 6b 79 2c 20 6c 79 20 | 28 50 4c 49 4e 54 2c 20 |.ky, ly |(PLINT, |
|00003000| 69 6e 70 75 74 29 52 61 | 6e 67 65 20 6f 66 20 79 |input)Ra|nge of y|
|00003010| 20 69 6e 64 69 63 69 65 | 73 20 74 6f 20 63 6f 6e | indicie|s to con|
|00003020| 73 69 64 65 72 2e 0a 0a | 3c 50 3e 0a 63 6c 65 76 |sider...|<P>.clev|
|00003030| 65 6c 20 28 50 4c 46 4c | 54 20 2a 2c 20 69 6e 70 |el (PLFL|T *, inp|
|00003040| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 61 72 |ut)Point|er to ar|
|00003050| 72 61 79 20 73 70 65 63 | 69 66 79 69 6e 67 0a 20 |ray spec|ifying. |
|00003060| 20 20 20 6c 65 76 65 6c | 73 20 61 74 20 77 68 69 | level|s at whi|
|00003070| 63 68 20 74 6f 20 64 72 | 61 77 20 63 6f 6e 74 6f |ch to dr|aw conto|
|00003080| 75 72 73 2e 0a 0a 3c 50 | 3e 0a 6e 6c 65 76 65 6c |urs...<P|>.nlevel|
|00003090| 20 28 50 4c 49 4e 54 2c | 20 69 6e 70 75 74 29 4e | (PLINT,| input)N|
|000030a0| 75 6d 62 65 72 20 6f 66 | 20 63 6f 6e 74 6f 75 72 |umber of| contour|
|000030b0| 20 6c 65 76 65 6c 73 20 | 74 6f 20 64 72 61 77 2e | levels |to draw.|
|000030c0| 0a 0a 3c 50 3e 0a 4e 4f | 54 45 3a 20 74 68 69 73 |..<P>.NO|TE: this|
|000030d0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 69 6e 74 | functio|n is int|
|000030e0| 65 6e 64 65 64 20 66 6f | 72 20 75 73 65 20 66 72 |ended fo|r use fr|
|000030f0| 6f 6d 20 61 20 46 6f 72 | 74 72 61 6e 20 63 61 6c |om a For|tran cal|
|00003100| 6c 65 72 20 6f 6e 6c 79 | 2e 20 20 54 68 65 20 43 |ler only|. The C|
|00003110| 0a 75 73 65 72 20 73 68 | 6f 75 6c 64 20 69 6e 73 |.user sh|ould ins|
|00003120| 74 65 61 64 20 63 61 6c | 6c 20 70 6c 63 6f 6e 74 |tead cal|l plcont|
|00003130| 20 75 73 69 6e 67 20 74 | 68 65 20 62 75 69 6c 74 | using t|he built|
|00003140| 2d 69 6e 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |-in tran|sformati|
|00003150| 6f 6e 0a 66 75 6e 63 74 | 69 6f 6e 20 70 6c 74 72 |on.funct|ion pltr|
|00003160| 30 20 66 6f 72 20 74 68 | 65 20 73 61 6d 65 20 63 |0 for th|e same c|
|00003170| 61 70 61 62 69 6c 69 74 | 79 2e 20 0a 0a 3c 50 3e |apabilit|y. ..<P>|
|00003180| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 63 6f |.&#184;.|<P>.plco|
|00003190| 6e 31 2c 20 70 6c 63 6f | 6e 32 2c 20 70 6c 63 6f |n1, plco|n2, plco|
|000031a0| 6e 30 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 63 |n0, API.|.<P>.plc|
|000031b0| 6f 6e 31 28 7a 2c 20 6e | 78 2c 20 6e 79 2c 20 6b |on1(z, n|x, ny, k|
|000031c0| 78 2c 20 6c 78 2c 20 6b | 79 2c 20 6c 79 2c 20 63 |x, lx, k|y, ly, c|
|000031d0| 6c 65 76 65 6c 2c 20 6e | 6c 65 76 65 6c 2c 20 78 |level, n|level, x|
|000031e0| 67 2c 20 79 67 29 0a 3c | 41 20 49 44 3d 22 70 6c |g, yg).<|A ID="pl|
|000031f0| 63 6f 6e 31 22 3e 3c 2f | 41 3e 70 6c 63 6f 6e 31 |con1"></|A>plcon1|
|00003200| 0a 0a 3c 50 3e 0a 44 72 | 61 77 73 20 61 20 63 6f |..<P>.Dr|aws a co|
|00003210| 6e 74 6f 75 72 20 70 6c | 6f 74 20 6f 66 20 74 68 |ntour pl|ot of th|
|00003220| 65 20 64 61 74 61 20 69 | 6e 20 7a 5b 6e 78 5d 5b |e data i|n z[nx][|
|00003230| 6e 79 5d 2c 20 75 73 69 | 6e 67 20 74 68 65 0a 6e |ny], usi|ng the.n|
|00003240| 6c 65 76 65 6c 20 63 6f | 6e 74 6f 75 72 20 6c 65 |level co|ntour le|
|00003250| 76 65 6c 73 20 73 70 65 | 63 69 66 69 65 64 20 62 |vels spe|cified b|
|00003260| 79 20 63 6c 65 76 65 6c | 2e 20 20 4f 6e 6c 79 20 |y clevel|. Only |
|00003270| 74 68 65 20 72 65 67 69 | 6f 6e 0a 6f 66 20 74 68 |the regi|on.of th|
|00003280| 65 20 61 72 72 61 79 20 | 66 72 6f 6d 20 6b 78 20 |e array |from kx |
|00003290| 74 6f 20 6c 78 20 61 6e | 64 20 66 72 6f 6d 20 6b |to lx an|d from k|
|000032a0| 79 20 74 6f 20 6c 79 0a | 69 73 20 70 6c 6f 74 74 |y to ly.|is plott|
|000032b0| 65 64 20 6f 75 74 2e 20 | 20 54 68 65 20 61 72 72 |ed out. | The arr|
|000032c0| 61 79 73 20 78 67 20 61 | 6e 64 20 79 67 20 61 72 |ays xg a|nd yg ar|
|000032d0| 65 20 75 73 65 64 20 74 | 6f 20 73 70 65 63 69 66 |e used t|o specif|
|000032e0| 79 0a 74 68 65 20 74 72 | 61 6e 73 66 6f 72 6d 61 |y.the tr|ansforma|
|000032f0| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 61 72 72 |tion bet|ween arr|
|00003300| 61 79 20 69 6e 64 69 63 | 65 73 20 61 6e 64 20 77 |ay indic|es and w|
|00003310| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |orld coo|rdinates|
|00003320| 2e 20 20 0a 43 6f 6e 74 | 6f 75 72 20 70 6c 6f 74 |. .Cont|our plot|
|00003330| 73 20 66 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |s for mo|re infor|
|00003340| 6d 61 74 69 6f 6e 2e 0a | 0a 3c 50 3e 0a 7a 20 28 |mation..|.<P>.z (|
|00003350| 50 4c 46 4c 54 20 2a 2a | 2c 20 69 6e 70 75 74 29 |PLFLT **|, input)|
|00003360| 50 6f 69 6e 74 65 72 20 | 74 6f 20 61 20 76 65 63 |Pointer |to a vec|
|00003370| 74 6f 72 65 64 20 74 77 | 6f 2d 64 69 6d 65 6e 73 |tored tw|o-dimens|
|00003380| 69 6f 6e 61 6c 20 61 72 | 72 61 79 0a 63 6f 6e 74 |ional ar|ray.cont|
|00003390| 61 69 6e 69 6e 67 20 64 | 61 74 61 20 74 6f 20 62 |aining d|ata to b|
|000033a0| 65 20 63 6f 6e 74 6f 75 | 72 65 64 2e 0a 0a 3c 50 |e contou|red...<P|
|000033b0| 3e 0a 6e 78 2c 20 6e 79 | 20 28 50 4c 49 4e 54 2c |>.nx, ny| (PLINT,|
|000033c0| 20 69 6e 70 75 74 29 50 | 68 79 73 69 63 61 6c 20 | input)P|hysical |
|000033d0| 64 69 6d 65 6e 73 69 6f | 6e 73 20 6f 66 20 61 72 |dimensio|ns of ar|
|000033e0| 72 61 79 20 7a 2e 0a 0a | 3c 50 3e 0a 6b 78 2c 20 |ray z...|<P>.kx, |
|000033f0| 6c 78 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |lx (PLIN|T, input|
|00003400| 29 52 61 6e 67 65 20 6f | 66 20 78 20 69 6e 64 69 |)Range o|f x indi|
|00003410| 63 69 65 73 20 74 6f 20 | 63 6f 6e 73 69 64 65 72 |cies to |consider|
|00003420| 2e 0a 0a 3c 50 3e 0a 6b | 79 2c 20 6c 79 20 28 50 |...<P>.k|y, ly (P|
|00003430| 4c 49 4e 54 2c 20 69 6e | 70 75 74 29 52 61 6e 67 |LINT, in|put)Rang|
|00003440| 65 20 6f 66 20 79 20 69 | 6e 64 69 63 69 65 73 20 |e of y i|ndicies |
|00003450| 74 6f 20 63 6f 6e 73 69 | 64 65 72 2e 0a 0a 3c 50 |to consi|der...<P|
|00003460| 3e 0a 63 6c 65 76 65 6c | 20 28 50 4c 46 4c 54 20 |>.clevel| (PLFLT |
|00003470| 2a 2c 20 69 6e 70 75 74 | 29 50 6f 69 6e 74 65 72 |*, input|)Pointer|
|00003480| 20 74 6f 20 61 72 72 61 | 79 20 73 70 65 63 69 66 | to arra|y specif|
|00003490| 79 69 6e 67 0a 6c 65 76 | 65 6c 73 20 61 74 20 77 |ying.lev|els at w|
|000034a0| 68 69 63 68 20 74 6f 20 | 64 72 61 77 20 63 6f 6e |hich to |draw con|
|000034b0| 74 6f 75 72 73 2e 0a 0a | 3c 50 3e 0a 6e 6c 65 76 |tours...|<P>.nlev|
|000034c0| 65 6c 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |el (PLIN|T, input|
|000034d0| 29 4e 75 6d 62 65 72 20 | 6f 66 20 63 6f 6e 74 6f |)Number |of conto|
|000034e0| 75 72 20 6c 65 76 65 6c | 73 20 74 6f 20 64 72 61 |ur level|s to dra|
|000034f0| 77 2e 0a 0a 3c 50 3e 0a | 78 67 2c 20 79 67 20 28 |w...<P>.|xg, yg (|
|00003500| 50 4c 46 4c 54 20 2a 2c | 20 69 6e 70 75 74 29 50 |PLFLT *,| input)P|
|00003510| 6f 69 6e 74 65 72 73 20 | 74 6f 20 61 72 72 61 79 |ointers |to array|
|00003520| 73 20 77 68 69 63 68 20 | 73 70 65 63 69 66 79 20 |s which |specify |
|00003530| 74 68 65 0a 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |the.tran|sformati|
|00003540| 6f 6e 20 66 72 6f 6d 20 | 61 72 72 61 79 20 69 6e |on from |array in|
|00003550| 64 69 63 65 73 20 74 6f | 20 77 6f 72 6c 64 20 63 |dices to| world c|
|00003560| 6f 6f 72 64 69 6e 61 74 | 65 73 2e 20 20 54 68 65 |oordinat|es. The|
|00003570| 73 65 20 6d 75 73 74 20 | 62 65 0a 6f 6e 65 2d 64 |se must |be.one-d|
|00003580| 69 6d 65 6e 73 69 6f 6e | 61 6c 20 61 72 72 61 79 |imension|al array|
|00003590| 73 2c 20 75 73 65 64 20 | 66 6f 72 20 61 20 74 72 |s, used |for a tr|
|000035a0| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 66 20 |ansforma|tion of |
|000035b0| 74 68 65 20 66 6f 72 6d | 3a 0a 74 78 3d 66 28 78 |the form|:.tx=f(x|
|000035c0| 29 2c 20 74 79 3d 66 28 | 79 29 2e 20 20 46 75 6e |), ty=f(|y). Fun|
|000035d0| 63 74 69 6f 6e 20 76 61 | 6c 75 65 73 20 61 74 20 |ction va|lues at |
|000035e0| 6c 6f 63 61 74 69 6f 6e | 73 20 62 65 74 77 65 65 |location|s betwee|
|000035f0| 6e 20 67 72 69 64 0a 70 | 6f 69 6e 74 73 20 61 72 |n grid.p|oints ar|
|00003600| 65 20 6f 62 74 61 69 6e | 65 64 20 76 69 61 20 6c |e obtain|ed via l|
|00003610| 69 6e 65 61 72 20 69 6e | 74 65 72 70 6f 6c 61 74 |inear in|terpolat|
|00003620| 69 6f 6e 2e 20 0a 0a 3c | 50 3e 0a 4e 4f 54 45 3a |ion. ..<|P>.NOTE:|
|00003630| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|00003640| 73 20 69 6e 74 65 6e 64 | 65 64 20 66 6f 72 20 75 |s intend|ed for u|
|00003650| 73 65 20 66 72 6f 6d 20 | 61 20 46 6f 72 74 72 61 |se from |a Fortra|
|00003660| 6e 20 63 61 6c 6c 65 72 | 20 6f 6e 6c 79 2e 20 20 |n caller| only. |
|00003670| 54 68 65 20 43 0a 75 73 | 65 72 20 73 68 6f 75 6c |The C.us|er shoul|
|00003680| 64 20 69 6e 73 74 65 61 | 64 20 63 61 6c 6c 20 70 |d instea|d call p|
|00003690| 6c 63 6f 6e 66 20 75 73 | 69 6e 67 20 74 68 65 20 |lconf us|ing the |
|000036a0| 62 75 69 6c 74 2d 69 6e | 20 74 72 61 6e 73 66 6f |built-in| transfo|
|000036b0| 72 6d 61 74 69 6f 6e 0a | 66 75 6e 63 74 69 6f 6e |rmation.|function|
|000036c0| 20 70 6c 74 72 31 20 66 | 6f 72 20 74 68 65 20 73 | pltr1 f|or the s|
|000036d0| 61 6d 65 20 63 61 70 61 | 62 69 6c 69 74 79 2e 20 |ame capa|bility. |
|000036e0| 0a 0a 3c 50 3e 0a 26 23 | 31 38 34 3b 0a 3c 50 3e |..<P>.&#|184;.<P>|
|000036f0| 0a 70 6c 63 6f 6e 32 2c | 20 70 6c 63 6f 6e 66 2c |.plcon2,| plconf,|
|00003700| 20 70 6c 63 6f 6e 31 2c | 20 41 50 49 0a 0a 3c 50 | plcon1,| API..<P|
|00003710| 3e 0a 70 6c 63 6f 6e 32 | 28 7a 2c 20 6e 78 2c 20 |>.plcon2|(z, nx, |
|00003720| 6e 79 2c 20 6b 78 2c 20 | 6c 78 2c 20 6b 79 2c 20 |ny, kx, |lx, ky, |
|00003730| 6c 79 2c 20 63 6c 65 76 | 65 6c 2c 20 6e 6c 65 76 |ly, clev|el, nlev|
|00003740| 65 6c 2c 20 78 67 2c 20 | 79 67 29 0a 3c 41 20 49 |el, xg, |yg).<A I|
|00003750| 44 3d 22 70 6c 63 6f 6e | 32 22 3e 3c 2f 41 3e 70 |D="plcon|2"></A>p|
|00003760| 6c 63 6f 6e 32 0a 0a 3c | 50 3e 0a 44 72 61 77 73 |lcon2..<|P>.Draws|
|00003770| 20 61 20 63 6f 6e 74 6f | 75 72 20 70 6c 6f 74 20 | a conto|ur plot |
|00003780| 6f 66 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 7a |of the d|ata in z|
|00003790| 5b 6e 78 5d 5b 6e 79 5d | 2c 20 75 73 69 6e 67 20 |[nx][ny]|, using |
|000037a0| 74 68 65 0a 6e 6c 65 76 | 65 6c 20 63 6f 6e 74 6f |the.nlev|el conto|
|000037b0| 75 72 20 6c 65 76 65 6c | 73 20 73 70 65 63 69 66 |ur level|s specif|
|000037c0| 69 65 64 20 62 79 20 63 | 6c 65 76 65 6c 2e 20 20 |ied by c|level. |
|000037d0| 4f 6e 6c 79 20 74 68 65 | 20 72 65 67 69 6f 6e 0a |Only the| region.|
|000037e0| 6f 66 20 74 68 65 20 61 | 72 72 61 79 20 66 72 6f |of the a|rray fro|
|000037f0| 6d 20 6b 78 20 74 6f 20 | 6c 78 20 61 6e 64 20 66 |m kx to |lx and f|
|00003800| 72 6f 6d 20 6b 79 20 74 | 6f 20 6c 79 0a 69 73 20 |rom ky t|o ly.is |
|00003810| 70 6c 6f 74 74 65 64 20 | 6f 75 74 2e 20 20 54 68 |plotted |out. Th|
|00003820| 65 20 61 72 72 61 79 73 | 20 78 67 20 61 6e 64 20 |e arrays| xg and |
|00003830| 79 67 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 73 |yg are u|sed to s|
|00003840| 70 65 63 69 66 79 0a 74 | 68 65 20 74 72 61 6e 73 |pecify.t|he trans|
|00003850| 66 6f 72 6d 61 74 69 6f | 6e 20 62 65 74 77 65 65 |formatio|n betwee|
|00003860| 6e 20 61 72 72 61 79 20 | 69 6e 64 69 63 65 73 20 |n array |indices |
|00003870| 61 6e 64 20 77 6f 72 6c | 64 20 63 6f 6f 72 64 69 |and worl|d coordi|
|00003880| 6e 61 74 65 73 2e 20 20 | 0a 43 6f 6e 74 6f 75 72 |nates. |.Contour|
|00003890| 20 70 6c 6f 74 73 20 66 | 6f 72 20 6d 6f 72 65 20 | plots f|or more |
|000038a0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0a 0a 3c 50 |informat|ion...<P|
|000038b0| 3e 0a 7a 20 28 50 4c 46 | 4c 54 20 2a 2a 2c 20 69 |>.z (PLF|LT **, i|
|000038c0| 6e 70 75 74 29 50 6f 69 | 6e 74 65 72 20 74 6f 20 |nput)Poi|nter to |
|000038d0| 61 20 76 65 63 74 6f 72 | 65 64 20 74 77 6f 2d 64 |a vector|ed two-d|
|000038e0| 69 6d 65 6e 73 69 6f 6e | 61 6c 20 61 72 72 61 79 |imension|al array|
|000038f0| 0a 63 6f 6e 74 61 69 6e | 69 6e 67 20 64 61 74 61 |.contain|ing data|
|00003900| 20 74 6f 20 62 65 20 63 | 6f 6e 74 6f 75 72 65 64 | to be c|ontoured|
|00003910| 2e 0a 0a 3c 50 3e 0a 6e | 78 2c 20 6e 79 20 28 50 |...<P>.n|x, ny (P|
|00003920| 4c 49 4e 54 2c 20 69 6e | 70 75 74 29 50 68 79 73 |LINT, in|put)Phys|
|00003930| 69 63 61 6c 20 64 69 6d | 65 6e 73 69 6f 6e 73 20 |ical dim|ensions |
|00003940| 6f 66 20 61 72 72 61 79 | 20 7a 2e 0a 0a 3c 50 3e |of array| z...<P>|
|00003950| 0a 6b 78 2c 20 6c 78 20 | 28 50 4c 49 4e 54 2c 20 |.kx, lx |(PLINT, |
|00003960| 69 6e 70 75 74 29 52 61 | 6e 67 65 20 6f 66 20 78 |input)Ra|nge of x|
|00003970| 20 69 6e 64 69 63 69 65 | 73 20 74 6f 20 63 6f 6e | indicie|s to con|
|00003980| 73 69 64 65 72 2e 0a 0a | 3c 50 3e 0a 6b 79 2c 20 |sider...|<P>.ky, |
|00003990| 6c 79 20 28 50 4c 49 4e | 54 2c 20 69 6e 70 75 74 |ly (PLIN|T, input|
|000039a0| 29 52 61 6e 67 65 20 6f | 66 20 79 20 69 6e 64 69 |)Range o|f y indi|
|000039b0| 63 69 65 73 20 74 6f 20 | 63 6f 6e 73 69 64 65 72 |cies to |consider|
|000039c0| 2e 0a 0a 3c 50 3e 0a 63 | 6c 65 76 65 6c 20 28 50 |...<P>.c|level (P|
|000039d0| 4c 46 4c 54 20 2a 2c 20 | 69 6e 70 75 74 29 50 6f |LFLT *, |input)Po|
|000039e0| 69 6e 74 65 72 20 74 6f | 20 61 72 72 61 79 20 73 |inter to| array s|
|000039f0| 70 65 63 69 66 79 69 6e | 67 0a 20 20 20 20 6c 65 |pecifyin|g. le|
|00003a00| 76 65 6c 73 20 61 74 20 | 77 68 69 63 68 20 74 6f |vels at |which to|
|00003a10| 20 64 72 61 77 20 63 6f | 6e 74 6f 75 72 73 2e 0a | draw co|ntours..|
|00003a20| 0a 3c 50 3e 0a 6e 6c 65 | 76 65 6c 20 28 50 4c 49 |.<P>.nle|vel (PLI|
|00003a30| 4e 54 2c 20 69 6e 70 75 | 74 29 4e 75 6d 62 65 72 |NT, inpu|t)Number|
|00003a40| 20 6f 66 20 63 6f 6e 74 | 6f 75 72 20 6c 65 76 65 | of cont|our leve|
|00003a50| 6c 73 20 74 6f 20 64 72 | 61 77 2e 0a 0a 3c 50 3e |ls to dr|aw...<P>|
|00003a60| 0a 78 67 2c 20 79 67 20 | 28 50 4c 46 4c 54 20 2a |.xg, yg |(PLFLT *|
|00003a70| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 73 |, input)|Pointers|
|00003a80| 20 74 6f 20 61 72 72 61 | 79 73 20 77 68 69 63 68 | to arra|ys which|
|00003a90| 20 73 70 65 63 69 66 79 | 20 74 68 65 0a 74 72 61 | specify| the.tra|
|00003aa0| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 66 72 6f 6d |nsformat|ion from|
|00003ab0| 20 61 72 72 61 79 20 69 | 6e 64 69 63 65 73 20 74 | array i|ndices t|
|00003ac0| 6f 20 77 6f 72 6c 64 20 | 63 6f 6f 72 64 69 6e 61 |o world |coordina|
|00003ad0| 74 65 73 2e 20 20 54 68 | 65 73 65 20 6d 75 73 74 |tes. Th|ese must|
|00003ae0| 20 62 65 0a 74 77 6f 2d | 64 69 6d 65 6e 73 69 6f | be.two-|dimensio|
|00003af0| 6e 61 6c 20 61 72 72 61 | 79 73 2c 20 75 73 65 64 |nal arra|ys, used|
|00003b00| 20 66 6f 72 20 61 20 74 | 72 61 6e 73 66 6f 72 6d | for a t|ransform|
|00003b10| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 66 6f 72 |ation of| the for|
|00003b20| 6d 3a 0a 74 78 3d 66 28 | 78 2c 20 79 29 2c 20 74 |m:.tx=f(|x, y), t|
|00003b30| 79 3d 66 28 78 2c 20 79 | 29 2e 20 20 46 75 6e 63 |y=f(x, y|). Func|
|00003b40| 74 69 6f 6e 20 76 61 6c | 75 65 73 20 61 74 20 6c |tion val|ues at l|
|00003b50| 6f 63 61 74 69 6f 6e 73 | 20 62 65 74 77 65 65 6e |ocations| between|
|00003b60| 0a 67 72 69 64 20 70 6f | 69 6e 74 73 20 61 72 65 |.grid po|ints are|
|00003b70| 20 6f 62 74 61 69 6e 65 | 64 20 76 69 61 20 6c 69 | obtaine|d via li|
|00003b80| 6e 65 61 72 20 69 6e 74 | 65 72 70 6f 6c 61 74 69 |near int|erpolati|
|00003b90| 6f 6e 2e 0a 0a 3c 50 3e | 0a 4e 4f 54 45 3a 20 74 |on...<P>|.NOTE: t|
|00003ba0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00003bb0| 69 6e 74 65 6e 64 65 64 | 20 66 6f 72 20 75 73 65 |intended| for use|
|00003bc0| 20 66 72 6f 6d 20 61 20 | 46 6f 72 74 72 61 6e 20 | from a |Fortran |
|00003bd0| 63 61 6c 6c 65 72 20 6f | 6e 6c 79 2e 20 20 54 68 |caller o|nly. Th|
|00003be0| 65 20 43 0a 75 73 65 72 | 20 73 68 6f 75 6c 64 20 |e C.user| should |
|00003bf0| 69 6e 73 74 65 61 64 20 | 63 61 6c 6c 20 70 6c 63 |instead |call plc|
|00003c00| 6f 6e 66 20 75 73 69 6e | 67 20 74 68 65 20 62 75 |onf usin|g the bu|
|00003c10| 69 6c 74 2d 69 6e 20 74 | 72 61 6e 73 66 6f 72 6d |ilt-in t|ransform|
|00003c20| 61 74 69 6f 6e 0a 66 75 | 6e 63 74 69 6f 6e 20 70 |ation.fu|nction p|
|00003c30| 6c 74 72 32 20 66 6f 72 | 20 74 68 65 20 73 61 6d |ltr2 for| the sam|
|00003c40| 65 20 63 61 70 61 62 69 | 6c 69 74 79 2e 20 0a 0a |e capabi|lity. ..|
|00003c50| 3c 50 3e 0a 26 23 31 38 | 34 3b 0a 3c 50 3e 0a 70 |<P>.&#18|4;.<P>.p|
|00003c60| 6c 63 6f 6e 66 2c 20 70 | 6c 63 6f 6e 74 2c 20 70 |lconf, p|lcont, p|
|00003c70| 6c 63 6f 6e 32 2c 20 41 | 50 49 0a 0a 3c 50 3e 0a |lcon2, A|PI..<P>.|
|00003c80| 70 6c 63 6f 6e 66 28 7a | 2c 20 6e 78 2c 20 6e 79 |plconf(z|, nx, ny|
|00003c90| 2c 20 6b 78 2c 20 6c 78 | 2c 20 6b 79 2c 20 6c 79 |, kx, lx|, ky, ly|
|00003ca0| 2c 20 63 6c 65 76 65 6c | 2c 20 6e 6c 65 76 65 6c |, clevel|, nlevel|
|00003cb0| 2c 20 70 6c 74 72 2c 20 | 78 67 2c 20 79 67 29 0a |, pltr, |xg, yg).|
|00003cc0| 3c 41 20 49 44 3d 22 70 | 6c 63 6f 6e 66 22 3e 3c |<A ID="p|lconf"><|
|00003cd0| 2f 41 3e 70 6c 63 6f 6e | 66 0a 0a 3c 50 3e 0a 44 |/A>plcon|f..<P>.D|
|00003ce0| 72 61 77 73 20 61 20 63 | 6f 6e 74 6f 75 72 20 70 |raws a c|ontour p|
|00003cf0| 6c 6f 74 20 6f 66 20 74 | 68 65 20 64 61 74 61 20 |lot of t|he data |
|00003d00| 69 6e 20 7a 5b 6e 78 5d | 5b 6e 79 5d 2c 20 75 73 |in z[nx]|[ny], us|
|00003d10| 69 6e 67 20 74 68 65 0a | 6e 6c 65 76 65 6c 20 63 |ing the.|nlevel c|
|00003d20| 6f 6e 74 6f 75 72 20 6c | 65 76 65 6c 73 20 73 70 |ontour l|evels sp|
|00003d30| 65 63 69 66 69 65 64 20 | 62 79 20 63 6c 65 76 65 |ecified |by cleve|
|00003d40| 6c 2e 20 20 4f 6e 6c 79 | 20 74 68 65 20 72 65 67 |l. Only| the reg|
|00003d50| 69 6f 6e 0a 6f 66 20 74 | 68 65 20 61 72 72 61 79 |ion.of t|he array|
|00003d60| 20 66 72 6f 6d 20 6b 78 | 20 74 6f 20 6c 78 20 61 | from kx| to lx a|
|00003d70| 6e 64 20 66 72 6f 6d 20 | 6b 79 20 74 6f 20 6c 79 |nd from |ky to ly|
|00003d80| 0a 69 73 20 70 6c 6f 74 | 74 65 64 20 6f 75 74 2e |.is plot|ted out.|
|00003d90| 20 20 41 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 | A tran|sformati|
|00003da0| 6f 6e 20 72 6f 75 74 69 | 6e 65 20 70 6c 74 72 20 |on routi|ne pltr |
|00003db0| 69 73 20 75 73 65 64 20 | 74 6f 20 6d 61 70 0a 69 |is used |to map.i|
|00003dc0| 6e 64 69 63 69 65 73 20 | 77 69 74 68 69 6e 20 74 |ndicies |within t|
|00003dd0| 68 65 20 61 72 72 61 79 | 20 74 6f 20 74 68 65 20 |he array| to the |
|00003de0| 77 6f 72 6c 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |world co|ordinate|
|00003df0| 73 2c 20 75 73 69 6e 67 | 20 74 68 65 0a 74 72 61 |s, using| the.tra|
|00003e00| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 61 72 72 61 |nsformat|ion arra|
|00003e10| 79 73 20 78 67 20 61 6e | 64 20 79 67 2e 20 20 43 |ys xg an|d yg. C|
|00003e20| 6f 6e 74 6f 75 72 20 70 | 6c 6f 74 73 20 66 6f 72 |ontour p|lots for|
|00003e30| 0a 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |.more in|formatio|
|00003e40| 6e 2e 0a 0a 3c 50 3e 0a | 7a 20 28 50 4c 46 4c 54 |n...<P>.|z (PLFLT|
|00003e50| 20 2a 2a 2c 20 69 6e 70 | 75 74 29 50 6f 69 6e 74 | **, inp|ut)Point|
|00003e60| 65 72 20 74 6f 20 61 20 | 76 65 63 74 6f 72 65 64 |er to a |vectored|
|00003e70| 20 74 77 6f 2d 64 69 6d | 65 6e 73 69 6f 6e 61 6c | two-dim|ensional|
|00003e80| 20 61 72 72 61 79 0a 63 | 6f 6e 74 61 69 6e 69 6e | array.c|ontainin|
|00003e90| 67 20 64 61 74 61 20 74 | 6f 20 62 65 20 63 6f 6e |g data t|o be con|
|00003ea0| 74 6f 75 72 65 64 2e 0a | 0a 3c 50 3e 0a 6e 78 2c |toured..|.<P>.nx,|
|00003eb0| 20 6e 79 20 28 50 4c 49 | 4e 54 2c 20 69 6e 70 75 | ny (PLI|NT, inpu|
|00003ec0| 74 29 50 68 79 73 69 63 | 61 6c 20 64 69 6d 65 6e |t)Physic|al dimen|
|00003ed0| 73 69 6f 6e 73 20 6f 66 | 20 61 72 72 61 79 20 7a |sions of| array z|
|00003ee0| 2e 0a 0a 3c 50 3e 0a 6b | 78 2c 20 6c 78 20 28 50 |...<P>.k|x, lx (P|
|00003ef0| 4c 49 4e 54 2c 20 69 6e | 70 75 74 29 52 61 6e 67 |LINT, in|put)Rang|
|00003f00| 65 20 6f 66 20 78 20 69 | 6e 64 69 63 69 65 73 20 |e of x i|ndicies |
|00003f10| 74 6f 20 63 6f 6e 73 69 | 64 65 72 2e 0a 0a 3c 50 |to consi|der...<P|
|00003f20| 3e 0a 6b 79 2c 20 6c 79 | 20 28 50 4c 49 4e 54 2c |>.ky, ly| (PLINT,|
|00003f30| 20 69 6e 70 75 74 29 52 | 61 6e 67 65 20 6f 66 20 | input)R|ange of |
|00003f40| 79 20 69 6e 64 69 63 69 | 65 73 20 74 6f 20 63 6f |y indici|es to co|
|00003f50| 6e 73 69 64 65 72 2e 0a | 0a 3c 50 3e 0a 63 6c 65 |nsider..|.<P>.cle|
|00003f60| 76 65 6c 20 28 50 4c 46 | 4c 54 20 2a 2c 20 69 6e |vel (PLF|LT *, in|
|00003f70| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 61 |put)Poin|ter to a|
|00003f80| 72 72 61 79 20 73 70 65 | 63 69 66 79 69 6e 67 0a |rray spe|cifying.|
|00003f90| 20 20 20 20 6c 65 76 65 | 6c 73 20 61 74 20 77 68 | leve|ls at wh|
|00003fa0| 69 63 68 20 74 6f 20 64 | 72 61 77 20 63 6f 6e 74 |ich to d|raw cont|
|00003fb0| 6f 75 72 73 2e 0a 0a 3c | 50 3e 0a 6e 6c 65 76 65 |ours...<|P>.nleve|
|00003fc0| 6c 20 28 50 4c 49 4e 54 | 2c 20 69 6e 70 75 74 29 |l (PLINT|, input)|
|00003fd0| 4e 75 6d 62 65 72 20 6f | 66 20 63 6f 6e 74 6f 75 |Number o|f contou|
|00003fe0| 72 20 6c 65 76 65 6c 73 | 20 74 6f 20 64 72 61 77 |r levels| to draw|
|00003ff0| 2e 0a 0a 3c 50 3e 0a 70 | 6c 74 72 20 28 76 6f 69 |...<P>.p|ltr (voi|
|00004000| 64 20 2a 2c 20 69 6e 70 | 75 74 29 50 6f 69 6e 74 |d *, inp|ut)Point|
|00004010| 65 72 20 74 6f 20 66 75 | 6e 63 74 69 6f 6e 20 74 |er to fu|nction t|
|00004020| 68 61 74 20 64 65 66 69 | 6e 65 73 0a 74 72 61 6e |hat defi|nes.tran|
|00004030| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 62 65 74 77 65 |sformati|on betwe|
|00004040| 65 6e 20 69 6e 64 69 63 | 69 65 73 20 69 6e 20 61 |en indic|ies in a|
|00004050| 72 72 61 79 20 7a 20 61 | 6e 64 20 74 68 65 20 77 |rray z a|nd the w|
|00004060| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |orld coo|rdinates|
|00004070| 2e 0a 54 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 73 |..The fu|nction s|
|00004080| 68 6f 75 6c 64 20 68 61 | 76 65 20 74 68 65 20 66 |hould ha|ve the f|
|00004090| 6f 72 6d 20 70 6c 74 72 | 28 78 2c 20 79 2c 20 74 |orm pltr|(x, y, t|
|000040a0| 78 2c 20 74 79 2c 20 78 | 67 2c 20 79 67 2c 20 6e |x, ty, x|g, yg, n|
|000040b0| 78 2c 20 6e 79 29 0a 0a | 3c 50 3e 0a 78 2c 20 79 |x, ny)..|<P>.x, y|
|000040c0| 20 28 50 4c 46 4c 54 2c | 20 69 6e 70 75 74 29 20 | (PLFLT,| input) |
|000040d0| 53 70 65 63 69 66 69 65 | 73 20 74 68 65 20 70 6f |Specifie|s the po|
|000040e0| 73 69 74 69 6f 6e 20 69 | 6e 20 74 68 65 20 61 72 |sition i|n the ar|
|000040f0| 72 61 79 20 74 68 72 6f | 75 67 68 0a 77 68 69 63 |ray thro|ugh.whic|
|00004100| 68 20 74 68 65 20 63 6f | 6e 74 6f 75 72 20 72 75 |h the co|ntour ru|
|00004110| 6e 73 20 69 6e 20 74 65 | 72 6d 73 20 6f 66 20 74 |ns in te|rms of t|
|00004120| 68 65 20 61 72 72 61 79 | 20 69 6e 64 69 63 69 65 |he array| indicie|
|00004130| 73 2e 0a 0a 3c 50 3e 0a | 74 78 2c 20 74 79 20 28 |s...<P>.|tx, ty (|
|00004140| 50 4c 46 4c 54 20 2a 2c | 20 6f 75 74 70 75 74 29 |PLFLT *,| output)|
|00004150| 50 6f 69 6e 74 65 72 73 | 20 74 6f 20 74 68 65 0a |Pointers| to the.|
|00004160| 77 6f 72 6c 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |world co|ordinate|
|00004170| 73 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |s corres|ponding |
|00004180| 74 6f 20 74 68 65 20 70 | 6f 69 6e 74 20 28 78 2c |to the p|oint (x,|
|00004190| 20 79 29 2e 0a 0a 3c 50 | 3e 0a 78 67 2c 20 79 67 | y)...<P|>.xg, yg|
|000041a0| 20 28 50 4c 46 4c 54 20 | 2a 2c 20 69 6e 70 75 74 | (PLFLT |*, input|
|000041b0| 29 50 6f 69 6e 74 65 72 | 73 20 74 6f 20 74 72 61 |)Pointer|s to tra|
|000041c0| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 61 72 72 61 |nsformat|ion arra|
|000041d0| 79 73 2e 0a 0a 3c 50 3e | 0a 6e 78 2c 20 6e 79 20 |ys...<P>|.nx, ny |
|000041e0| 28 50 4c 49 4e 54 2c 20 | 69 6e 70 75 74 29 41 72 |(PLINT, |input)Ar|
|000041f0| 72 61 79 20 64 69 6d 65 | 6e 73 69 6f 6e 73 20 69 |ray dime|nsions i|
|00004200| 6e 20 78 20 61 6e 64 0a | 79 2c 20 72 65 73 70 65 |n x and.|y, respe|
|00004210| 63 74 69 76 65 6c 79 2e | 0a 0a 3c 50 3e 0a 78 67 |ctively.|..<P>.xg|
|00004220| 2c 20 79 67 20 28 50 4c | 46 4c 54 20 2a 2c 20 69 |, yg (PL|FLT *, i|
|00004230| 6e 70 75 74 29 50 6f 69 | 6e 74 65 72 73 20 74 6f |nput)Poi|nters to|
|00004240| 20 61 72 72 61 79 73 20 | 77 68 69 63 68 20 64 65 | arrays |which de|
|00004250| 66 69 6e 65 20 74 68 65 | 0a 74 72 61 6e 73 66 6f |fine the|.transfo|
|00004260| 72 6d 61 74 69 6f 6e 20 | 66 72 6f 6d 20 28 78 2c |rmation |from (x,|
|00004270| 20 79 29 20 74 6f 20 28 | 74 78 2c 20 74 79 29 2c | y) to (|tx, ty),|
|00004280| 20 75 73 65 64 20 61 73 | 20 69 6e 70 75 74 20 74 | used as| input t|
|00004290| 6f 20 74 68 65 0a 74 72 | 61 6e 73 66 6f 72 6d 61 |o the.tr|ansforma|
|000042a0| 74 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 20 70 6c |tion fun|ction pl|
|000042b0| 74 72 2e 0a 0a 0a 3c 50 | 3e 0a 54 77 6f 20 74 72 |tr....<P|>.Two tr|
|000042c0| 61 6e 73 66 6f 72 6d 61 | 74 69 6f 6e 20 66 75 6e |ansforma|tion fun|
|000042d0| 63 74 69 6f 6e 73 20 61 | 72 65 20 70 72 6f 76 69 |ctions a|re provi|
|000042e0| 64 65 64 3a 20 70 6c 74 | 72 31 2c 20 66 6f 72 20 |ded: plt|r1, for |
|000042f0| 6f 6e 65 0a 64 69 6d 65 | 6e 73 69 6f 6e 61 6c 20 |one.dime|nsional |
|00004300| 6d 61 70 70 69 6e 67 73 | 20 28 69 2e 65 2e 20 74 |mappings| (i.e. t|
|00004310| 78 20 3d 20 66 28 78 29 | 2c 20 74 79 20 3d 20 66 |x = f(x)|, ty = f|
|00004320| 28 79 29 29 2c 20 61 6e | 64 0a 70 6c 74 72 32 2c |(y)), an|d.pltr2,|
|00004330| 20 66 6f 72 20 74 77 6f | 20 64 69 6d 65 6e 73 69 | for two| dimensi|
|00004340| 6f 6e 61 6c 20 6d 61 70 | 70 69 6e 67 73 20 28 69 |onal map|pings (i|
|00004350| 2e 65 2e 20 74 78 20 3d | 20 66 28 78 2c 20 79 29 |.e. tx =| f(x, y)|
|00004360| 2c 20 74 79 0a 3d 20 66 | 28 78 2c 20 79 29 29 2e |, ty.= f|(x, y)).|
|00004370| 20 20 46 75 6e 63 74 69 | 6f 6e 20 76 61 6c 75 65 | Functi|on value|
|00004380| 73 20 61 74 20 6c 6f 63 | 61 74 69 6f 6e 73 20 62 |s at loc|ations b|
|00004390| 65 74 77 65 65 6e 20 67 | 72 69 64 20 70 6f 69 6e |etween g|rid poin|
|000043a0| 74 73 20 61 72 65 0a 6f | 62 74 61 69 6e 65 64 20 |ts are.o|btained |
|000043b0| 76 69 61 20 6c 69 6e 65 | 61 72 20 69 6e 74 65 72 |via line|ar inter|
|000043c0| 70 6f 6c 61 74 69 6f 6e | 2e 0a 0a 3c 50 3e 0a 4e |polation|...<P>.N|
|000043d0| 4f 54 45 3a 20 20 74 68 | 69 73 20 72 6f 75 74 69 |OTE: th|is routi|
|000043e0| 6e 65 20 63 61 6e 6e 6f | 74 20 62 65 20 63 61 6c |ne canno|t be cal|
|000043f0| 6c 65 64 20 64 69 72 65 | 63 74 6c 79 20 66 72 6f |led dire|ctly fro|
|00004400| 6d 20 46 6f 72 74 72 61 | 6e 2e 20 20 55 73 65 0a |m Fortra|n. Use.|
|00004410| 70 6c 63 6f 6e 30 2c 20 | 70 6c 63 6f 6e 31 2c 20 |plcon0, |plcon1, |
|00004420| 6f 72 20 70 6c 63 6f 6e | 32 20 69 6e 73 74 65 61 |or plcon|2 instea|
|00004430| 64 2e 0a 0a 3c 50 3e 0a | 26 23 31 38 34 3b 0a 3c |d...<P>.|&#184;.<|
|00004440| 50 3e 0a 70 6c 63 6f 6e | 74 2c 20 70 6c 65 6e 64 |P>.plcon|t, plend|
|00004450| 2c 20 70 6c 63 6f 6e 66 | 2c 20 41 50 49 0a 0a 3c |, plconf|, API..<|
|00004460| 50 3e 0a 70 6c 63 6f 6e | 74 28 7a 2c 20 6e 78 2c |P>.plcon|t(z, nx,|
|00004470| 20 6e 79 2c 20 6b 78 2c | 20 6c 78 2c 20 6b 79 2c | ny, kx,| lx, ky,|
|00004480| 20 6c 79 2c 20 63 6c 65 | 76 65 6c 2c 20 6e 6c 65 | ly, cle|vel, nle|
|00004490| 76 65 6c 2c 20 70 6c 74 | 72 29 28 43 29 0a 70 6c |vel, plt|r)(C).pl|
|000044a0| 63 6f 6e 74 28 7a 2c 20 | 6e 78 2c 20 6e 79 2c 20 |cont(z, |nx, ny, |
|000044b0| 6b 78 2c 20 6c 78 2c 20 | 6b 79 2c 20 6c 79 2c 20 |kx, lx, |ky, ly, |
|000044c0| 63 6c 65 76 65 6c 2c 20 | 6e 6c 65 76 65 6c 2c 20 |clevel, |nlevel, |
|000044d0| 74 72 29 20 20 28 46 6f | 72 74 72 61 6e 29 0a 0a |tr) (Fo|rtran)..|
|000044e0| 3c 50 3e 0a 3c 41 20 49 | 44 3d 22 70 6c 63 6f 6e |<P>.<A I|D="plcon|
|000044f0| 74 22 3e 3c 2f 41 3e 70 | 6c 63 6f 6e 74 0a 0a 3c |t"></A>p|lcont..<|
|00004500| 50 3e 0a 44 72 61 77 73 | 20 61 20 63 6f 6e 74 6f |P>.Draws| a conto|
|00004510| 75 72 20 70 6c 6f 74 20 | 6f 66 20 74 68 65 20 64 |ur plot |of the d|
|00004520| 61 74 61 20 69 6e 20 7a | 5b 6e 78 5d 5b 6e 79 5d |ata in z|[nx][ny]|
|00004530| 2c 20 75 73 69 6e 67 20 | 74 68 65 0a 6e 6c 65 76 |, using |the.nlev|
|00004540| 65 6c 20 63 6f 6e 74 6f | 75 72 20 6c 65 76 65 6c |el conto|ur level|
|00004550| 73 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 63 |s specif|ied by c|
|00004560| 6c 65 76 65 6c 2e 20 20 | 4f 6e 6c 79 20 74 68 65 |level. |Only the|
|00004570| 20 72 65 67 69 6f 6e 0a | 6f 66 20 74 68 65 20 61 | region.|of the a|
|00004580| 72 72 61 79 20 66 72 6f | 6d 20 6b 78 20 74 6f 20 |rray fro|m kx to |
|00004590| 6c 78 20 61 6e 64 20 66 | 72 6f 6d 20 6b 79 20 74 |lx and f|rom ky t|
|000045a0| 6f 20 6c 79 0a 69 73 20 | 70 6c 6f 74 74 65 64 20 |o ly.is |plotted |
|000045b0| 6f 75 74 2e 20 20 41 20 | 74 72 61 6e 73 66 6f 72 |out. A |transfor|
|000045c0| 6d 61 74 69 6f 6e 20 72 | 6f 75 74 69 6e 65 20 70 |mation r|outine p|
|000045d0| 6c 74 72 20 69 73 20 75 | 73 65 64 20 74 6f 20 6d |ltr is u|sed to m|
|000045e0| 61 70 0a 69 6e 64 69 63 | 69 65 73 20 77 69 74 68 |ap.indic|ies with|
|000045f0| 69 6e 20 74 68 65 20 61 | 72 72 61 79 20 74 6f 20 |in the a|rray to |
|00004600| 74 68 65 20 77 6f 72 6c | 64 20 63 6f 6f 72 64 69 |the worl|d coordi|
|00004610| 6e 61 74 65 73 2e 20 20 | 43 6f 6e 74 6f 75 72 0a |nates. |Contour.|
|00004620| 70 6c 6f 74 73 20 66 6f | 72 20 6d 6f 72 65 20 69 |plots fo|r more i|
|00004630| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 0a 0a 3c 50 3e |nformati|on...<P>|
|00004640| 0a 7a 20 28 50 4c 46 4c | 54 20 2a 2a 2c 20 69 6e |.z (PLFL|T **, in|
|00004650| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 61 |put)Poin|ter to a|
|00004660| 20 76 65 63 74 6f 72 65 | 64 20 74 77 6f 2d 64 69 | vectore|d two-di|
|00004670| 6d 65 6e 73 69 6f 6e 61 | 6c 20 61 72 72 61 79 0a |mensiona|l array.|
|00004680| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 64 61 74 61 20 |containi|ng data |
|00004690| 74 6f 20 62 65 20 63 6f | 6e 74 6f 75 72 65 64 2e |to be co|ntoured.|
|000046a0| 0a 0a 3c 50 3e 0a 6e 78 | 2c 20 6e 79 20 28 50 4c |..<P>.nx|, ny (PL|
|000046b0| 49 4e 54 2c 20 69 6e 70 | 75 74 29 50 68 79 73 69 |INT, inp|ut)Physi|
|000046c0| 63 61 6c 20 64 69 6d 65 | 6e 73 69 6f 6e 73 20 6f |cal dime|nsions o|
|000046d0| 66 20 61 72 72 61 79 20 | 7a 2e 0a 0a 3c 50 3e 0a |f array |z...<P>.|
|000046e0| 6b 78 2c 20 6c 78 20 28 | 50 4c 49 4e 54 2c 20 69 |kx, lx (|PLINT, i|
|000046f0| 6e 70 75 74 29 52 61 6e | 67 65 20 6f 66 20 78 20 |nput)Ran|ge of x |
|00004700| 69 6e 64 69 63 69 65 73 | 20 74 6f 20 63 6f 6e 73 |indicies| to cons|
|00004710| 69 64 65 72 2e 0a 0a 3c | 50 3e 0a 6b 79 2c 20 6c |ider...<|P>.ky, l|
|00004720| 79 20 28 50 4c 49 4e 54 | 2c 20 69 6e 70 75 74 29 |y (PLINT|, input)|
|00004730| 52 61 6e 67 65 20 6f 66 | 20 79 20 69 6e 64 69 63 |Range of| y indic|
|00004740| 69 65 73 20 74 6f 20 63 | 6f 6e 73 69 64 65 72 2e |ies to c|onsider.|
|00004750| 0a 0a 3c 50 3e 0a 63 6c | 65 76 65 6c 20 28 50 4c |..<P>.cl|evel (PL|
|00004760| 46 4c 54 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |FLT *, i|nput)Poi|
|00004770| 6e 74 65 72 20 74 6f 20 | 61 72 72 61 79 20 73 70 |nter to |array sp|
|00004780| 65 63 69 66 79 69 6e 67 | 0a 20 20 20 20 6c 65 76 |ecifying|. lev|
|00004790| 65 6c 73 20 61 74 20 77 | 68 69 63 68 20 74 6f 20 |els at w|hich to |
|000047a0| 64 72 61 77 20 63 6f 6e | 74 6f 75 72 73 2e 0a 0a |draw con|tours...|
|000047b0| 3c 50 3e 0a 6e 6c 65 76 | 65 6c 20 28 50 4c 49 4e |<P>.nlev|el (PLIN|
|000047c0| 54 2c 20 69 6e 70 75 74 | 29 4e 75 6d 62 65 72 20 |T, input|)Number |
|000047d0| 6f 66 20 63 6f 6e 74 6f | 75 72 20 6c 65 76 65 6c |of conto|ur level|
|000047e0| 73 20 74 6f 20 64 72 61 | 77 2e 0a 0a 3c 50 3e 0a |s to dra|w...<P>.|
|000047f0| 70 6c 74 72 20 28 76 6f | 69 64 20 2a 2c 20 69 6e |pltr (vo|id *, in|
|00004800| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 66 |put)Poin|ter to f|
|00004810| 75 6e 63 74 69 6f 6e 20 | 74 68 61 74 20 64 65 66 |unction |that def|
|00004820| 69 6e 65 73 0a 74 72 61 | 6e 73 66 6f 72 6d 61 74 |ines.tra|nsformat|
|00004830| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 69 6e 64 69 |ion betw|een indi|
|00004840| 63 69 65 73 20 69 6e 20 | 61 72 72 61 79 20 7a 20 |cies in |array z |
|00004850| 61 6e 64 20 74 68 65 20 | 77 6f 72 6c 64 20 63 6f |and the |world co|
|00004860| 6f 72 64 69 6e 61 74 65 | 73 0a 28 43 20 6f 6e 6c |ordinate|s.(C onl|
|00004870| 79 29 2e 20 20 54 77 6f | 20 74 72 61 6e 73 66 6f |y). Two| transfo|
|00004880| 72 6d 61 74 69 6f 6e 20 | 66 75 6e 63 74 69 6f 6e |rmation |function|
|00004890| 73 20 61 72 65 20 70 72 | 6f 76 69 64 65 64 3a 20 |s are pr|ovided: |
|000048a0| 20 78 66 6f 72 6d 2c 20 | 66 6f 72 0a 73 69 6d 70 | xform, |for.simp|
|000048b0| 6c 65 20 6c 69 6e 65 61 | 72 20 6d 61 70 70 69 6e |le linea|r mappin|
|000048c0| 67 73 2c 20 61 6e 64 20 | 70 6c 74 72 30 2c 20 69 |gs, and |pltr0, i|
|000048d0| 66 20 6e 6f 20 6d 61 70 | 70 69 6e 67 20 69 73 20 |f no map|ping is |
|000048e0| 72 65 71 75 69 72 65 64 | 2e 0a 78 66 6f 72 6d 20 |required|..xform |
|000048f0| 69 73 20 6e 6f 74 20 61 | 63 74 75 61 6c 6c 79 20 |is not a|ctually |
|00004900| 63 6f 6d 70 69 6c 65 64 | 20 69 6e 74 6f 20 74 68 |compiled| into th|
|00004910| 65 20 50 4c 70 6c 6f 74 | 20 6c 69 62 72 61 72 79 |e PLplot| library|
|00004920| 20 64 75 65 20 74 6f 20 | 74 68 65 0a 6e 65 65 64 | due to |the.need|
|00004930| 20 66 6f 72 20 65 78 74 | 65 72 6e 61 6c 20 64 61 | for ext|ernal da|
|00004940| 74 61 3b 20 69 6e 73 74 | 65 61 64 20 79 6f 75 20 |ta; inst|ead you |
|00004950| 6d 75 73 74 20 69 6e 63 | 6c 75 64 65 20 69 74 20 |must inc|lude it |
|00004960| 61 73 20 70 61 72 74 20 | 6f 66 20 79 6f 75 72 0a |as part |of your.|
|00004970| 70 72 6f 67 72 61 6d 2e | 20 20 54 68 65 20 66 75 |program.| The fu|
|00004980| 6e 63 74 69 6f 6e 20 73 | 68 6f 75 6c 64 20 68 61 |nction s|hould ha|
|00004990| 76 65 20 74 68 65 20 66 | 6f 72 6d 3a 0a 0a 3c 50 |ve the f|orm:..<P|
|000049a0| 3e 0a 70 6c 74 72 28 78 | 2c 20 79 2c 20 74 78 2c |>.pltr(x|, y, tx,|
|000049b0| 20 74 79 29 0a 0a 3c 50 | 3e 0a 78 2c 20 79 20 28 | ty)..<P|>.x, y (|
|000049c0| 50 4c 46 4c 54 2c 20 69 | 6e 70 75 74 29 20 53 70 |PLFLT, i|nput) Sp|
|000049d0| 65 63 69 66 69 65 73 20 | 74 68 65 20 70 6f 73 69 |ecifies |the posi|
|000049e0| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 61 72 72 61 |tion in |the arra|
|000049f0| 79 0a 74 68 72 6f 75 67 | 68 20 77 68 69 63 68 20 |y.throug|h which |
|00004a00| 74 68 65 20 63 6f 6e 74 | 6f 75 72 20 72 75 6e 73 |the cont|our runs|
|00004a10| 20 69 6e 20 74 65 72 6d | 73 20 6f 66 20 74 68 65 | in term|s of the|
|00004a20| 20 61 72 72 61 79 20 69 | 6e 64 69 63 69 65 73 2e | array i|ndicies.|
|00004a30| 20 0a 0a 3c 50 3e 0a 74 | 78 2c 20 74 79 20 28 50 | ..<P>.t|x, ty (P|
|00004a40| 4c 46 4c 54 20 2a 2c 20 | 6f 75 74 70 75 74 29 50 |LFLT *, |output)P|
|00004a50| 6f 69 6e 74 65 72 73 20 | 74 6f 20 74 68 65 20 77 |ointers |to the w|
|00004a60| 6f 72 6c 64 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |orld coo|rdinates|
|00004a70| 0a 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 74 |.corresp|onding t|
|00004a80| 6f 20 74 68 65 20 70 6f | 69 6e 74 20 28 78 2c 20 |o the po|int (x, |
|00004a90| 79 29 2e 20 0a 0a 3c 50 | 3e 0a 74 72 20 28 50 4c |y). ..<P|>.tr (PL|
|00004aa0| 46 4c 54 20 2a 2c 20 69 | 6e 70 75 74 29 50 6f 69 |FLT *, i|nput)Poi|
|00004ab0| 6e 74 65 72 20 74 6f 20 | 36 2d 65 6c 65 6d 65 6e |nter to |6-elemen|
|00004ac0| 74 20 61 72 72 61 79 20 | 73 70 65 63 69 66 79 69 |t array |specifyi|
|00004ad0| 6e 67 0a 63 6f 65 66 66 | 69 63 69 65 6e 74 73 20 |ng.coeff|icients |
|00004ae0| 74 6f 20 75 73 65 20 69 | 6e 20 74 68 65 20 78 66 |to use i|n the xf|
|00004af0| 6f 72 6d 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |orm tran|sformati|
|00004b00| 6f 6e 20 66 75 6e 63 74 | 69 6f 6e 20 28 46 6f 72 |on funct|ion (For|
|00004b10| 74 72 61 6e 0a 6f 6e 6c | 79 29 2e 20 20 53 69 6e |tran.onl|y). Sin|
|00004b20| 63 65 20 74 68 69 73 20 | 69 73 20 73 6f 6d 65 77 |ce this |is somew|
|00004b30| 68 61 74 20 69 6e 66 6c | 65 78 69 62 6c 65 2c 20 |hat infl|exible, |
|00004b40| 74 68 65 20 75 73 65 72 | 20 69 73 20 72 65 63 6f |the user| is reco|
|00004b50| 6d 6d 65 6e 64 65 64 20 | 74 6f 20 63 61 6c 6c 0a |mmended |to call.|
|00004b60| 65 69 74 68 65 72 20 6f | 66 20 70 6c 63 6f 6e 30 |either o|f plcon0|
|00004b70| 2c 20 70 6c 63 6f 6e 31 | 2c 20 6f 72 20 70 6c 63 |, plcon1|, or plc|
|00004b80| 6f 6e 32 20 69 6e 73 74 | 65 61 64 2e 0a 0a 3c 50 |on2 inst|ead...<P|
|00004b90| 3e 0a 26 23 31 38 34 3b | 0a 3c 50 3e 0a 70 6c 65 |>.&#184;|.<P>.ple|
|00004ba0| 6e 64 2c 20 70 6c 65 6e | 64 31 2c 20 70 6c 63 6f |nd, plen|d1, plco|
|00004bb0| 6e 74 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 65 |nt, API.|.<P>.ple|
|00004bc0| 6e 64 28 29 0a 3c 41 20 | 49 44 3d 22 70 6c 65 6e |nd().<A |ID="plen|
|00004bd0| 64 22 3e 3c 2f 41 3e 70 | 6c 65 6e 64 0a 0a 3c 50 |d"></A>p|lend..<P|
|00004be0| 3e 0a 45 6e 64 73 20 61 | 20 70 6c 6f 74 74 69 6e |>.Ends a| plottin|
|00004bf0| 67 20 73 65 73 73 69 6f | 6e 2c 20 74 69 64 69 65 |g sessio|n, tidie|
|00004c00| 73 20 75 70 20 61 6c 6c | 20 74 68 65 20 6f 75 74 |s up all| the out|
|00004c10| 70 75 74 20 66 69 6c 65 | 73 2c 20 73 77 69 74 63 |put file|s, switc|
|00004c20| 68 65 73 0a 69 6e 74 65 | 72 61 63 74 69 76 65 20 |hes.inte|ractive |
|00004c30| 64 65 76 69 63 65 73 20 | 62 61 63 6b 20 69 6e 74 |devices |back int|
|00004c40| 6f 20 74 65 78 74 20 6d | 6f 64 65 20 61 6e 64 20 |o text m|ode and |
|00004c50| 66 72 65 65 73 20 75 70 | 20 61 6e 79 20 6d 65 6d |frees up| any mem|
|00004c60| 6f 72 79 20 74 68 61 74 | 20 77 61 73 0a 61 6c 6c |ory that| was.all|
|00004c70| 6f 63 61 74 65 64 2e 20 | 20 4d 75 73 74 20 62 65 |ocated. | Must be|
|00004c80| 20 63 61 6c 6c 65 64 20 | 62 65 66 6f 72 65 20 65 | called |before e|
|00004c90| 6e 64 20 6f 66 20 70 72 | 6f 67 72 61 6d 2e 0a 0a |nd of pr|ogram...|
|00004ca0| 3c 50 3e 0a 26 23 31 38 | 34 3b 0a 3c 50 3e 0a 70 |<P>.&#18|4;.<P>.p|
|00004cb0| 6c 65 6e 64 31 2c 20 70 | 6c 65 6e 76 2c 20 70 6c |lend1, p|lenv, pl|
|00004cc0| 65 6e 64 2c 20 41 50 49 | 0a 0a 3c 50 3e 0a 70 6c |end, API|..<P>.pl|
|00004cd0| 65 6e 64 31 28 29 0a 3c | 41 20 49 44 3d 22 70 6c |end1().<|A ID="pl|
|00004ce0| 65 6e 64 31 22 3e 3c 2f | 41 3e 70 6c 65 6e 64 31 |end1"></|A>plend1|
|00004cf0| 0a 0a 3c 50 3e 0a 45 6e | 64 73 20 61 20 70 6c 6f |..<P>.En|ds a plo|
|00004d00| 74 74 69 6e 67 20 73 65 | 73 73 69 6f 6e 20 66 6f |tting se|ssion fo|
|00004d10| 72 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6f 75 |r the cu|rrent ou|
|00004d20| 74 70 75 74 20 73 74 72 | 65 61 6d 20 6f 6e 6c 79 |tput str|eam only|
|00004d30| 2e 0a 53 65 65 20 70 6c | 73 73 74 72 6d 20 66 6f |..See pl|sstrm fo|
|00004d40| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 2e 0a 0a 3c 50 |r more i|nfo...<P|
|00004d50| 3e 0a 26 23 31 38 34 3b | 0a 3c 50 3e 0a 70 6c 65 |>.&#184;|.<P>.ple|
|00004d60| 6e 76 2c 20 70 6c 65 72 | 72 78 2c 20 70 6c 65 6e |nv, pler|rx, plen|
|00004d70| 64 31 2c 20 41 50 49 0a | 0a 3c 50 3e 0a 70 6c 65 |d1, API.|.<P>.ple|
|00004d80| 6e 76 28 78 6d 69 6e 2c | 20 78 6d 61 78 2c 20 79 |nv(xmin,| xmax, y|
|00004d90| 6d 69 6e 2c 20 79 6d 61 | 78 2c 20 6a 75 73 74 2c |min, yma|x, just,|
|00004da0| 20 61 78 69 73 29 0a 3c | 41 20 49 44 3d 22 70 6c | axis).<|A ID="pl|
|00004db0| 65 6e 76 22 3e 3c 2f 41 | 3e 70 6c 65 6e 76 0a 0a |env"></A|>plenv..|
|00004dc0| 3c 50 3e 0a 53 65 74 73 | 20 75 70 20 70 6c 6f 74 |<P>.Sets| up plot|
|00004dd0| 74 65 72 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ter envi|ronment |
|00004de0| 66 6f 72 20 73 69 6d 70 | 6c 65 20 67 72 61 70 68 |for simp|le graph|
|00004df0| 73 20 62 79 20 63 61 6c | 6c 69 6e 67 20 70 6c 61 |s by cal|ling pla|
|00004e00| 64 76 0a 61 6e 64 20 73 | 65 74 74 69 6e 67 20 75 |dv.and s|etting u|
|00004e10| 70 20 76 69 65 77 70 6f | 72 74 20 61 6e 64 20 77 |p viewpo|rt and w|
|00004e20| 69 6e 64 6f 77 20 74 6f | 20 73 65 6e 73 69 62 6c |indow to| sensibl|
|00004e30| 65 20 64 65 66 61 75 6c | 74 20 76 61 6c 75 65 73 |e defaul|t values|
|00004e40| 2e 20 20 70 6c 65 6e 76 | 0a 6c 65 61 76 65 73 20 |. plenv|.leaves |
|00004e50| 65 6e 6f 75 67 68 20 72 | 6f 6f 6d 20 61 72 6f 75 |enough r|oom arou|
|00004e60| 6e 64 20 6d 6f 73 74 20 | 67 72 61 70 68 73 20 66 |nd most |graphs f|
|00004e70| 6f 72 20 61 78 69 73 20 | 6c 61 62 65 6c 73 20 61 |or axis |labels a|
|00004e80| 6e 64 20 61 20 74 69 74 | 6c 65 2e 20 20 57 68 65 |nd a tit|le. Whe|
|00004e90| 6e 0a 74 68 65 73 65 20 | 64 65 66 61 75 6c 74 73 |n.these |defaults|
|00004ea0| 20 61 72 65 20 6e 6f 74 | 20 73 75 69 74 61 62 6c | are not| suitabl|
|00004eb0| 65 2c 20 75 73 65 20 74 | 68 65 20 69 6e 64 69 76 |e, use t|he indiv|
|00004ec0| 69 64 75 61 6c 20 72 6f | 75 74 69 6e 65 73 20 70 |idual ro|utines p|
|00004ed0| 6c 76 73 70 61 2c 20 0a | 70 6c 76 70 6f 72 2c 20 |lvspa, .|plvpor, |
|00004ee0| 6f 72 20 70 6c 76 61 73 | 70 20 66 6f 72 20 73 65 |or plvas|p for se|
|00004ef0| 74 74 69 6e 67 20 75 70 | 20 74 68 65 20 76 69 65 |tting up| the vie|
|00004f00| 77 70 6f 72 74 2c 20 70 | 6c 77 69 6e 64 20 66 6f |wport, p|lwind fo|
|00004f10| 72 0a 64 65 66 69 6e 69 | 6e 67 20 74 68 65 20 77 |r.defini|ng the w|
|00004f20| 69 6e 64 6f 77 2c 20 61 | 6e 64 20 70 6c 62 6f 78 |indow, a|nd plbox|
|00004f30| 20 66 6f 72 20 64 72 61 | 77 69 6e 67 20 74 68 65 | for dra|wing the|
|00004f40| 20 62 6f 78 2e 0a 0a 3c | 50 3e 0a 78 6d 69 6e 20 | box...<|P>.xmin |
|00004f50| 28 50 4c 46 4c 54 2c 20 | 69 6e 70 75 74 29 56 61 |(PLFLT, |input)Va|
|00004f60| 6c 75 65 20 6f 66 20 78 | 20 61 74 20 6c 65 66 74 |lue of x| at left|
|00004f70| 2d 68 61 6e 64 20 65 64 | 67 65 20 6f 66 20 77 69 |-hand ed|ge of wi|
|00004f80| 6e 64 6f 77 2e 0a 0a 3c | 50 3e 0a 78 6d 61 78 20 |ndow...<|P>.xmax |
|00004f90| 28 50 4c 46 4c 54 2c 20 | 69 6e 70 75 74 29 56 61 |(PLFLT, |input)Va|
|00004fa0| 6c 75 65 20 6f 66 20 78 | 20 61 74 20 72 69 67 68 |lue of x| at righ|
|00004fb0| 74 2d 68 61 6e 64 20 65 | 64 67 65 20 6f 66 20 77 |t-hand e|dge of w|
|00004fc0| 69 6e 64 6f 77 2e 0a 0a | 3c 50 3e 0a 79 6d 69 6e |indow...|<P>.ymin|
|00004fd0| 20 28 50 4c 46 4c 54 2c | 20 69 6e 70 75 74 29 56 | (PLFLT,| input)V|
|00004fe0| 61 6c 75 65 20 6f 66 20 | 79 20 61 74 20 62 6f 74 |alue of |y at bot|
|00004ff0| 74 6f 6d 20 65 64 67 65 | 20 6f 66 20 77 69 6e 64 |tom edge| of wind|
|00005000| 6f 77 2e 0a 0a 3c 50 3e | 0a 79 6d 61 78 20 28 50 |ow...<P>|.ymax (P|
|00005010| 4c 46 4c 54 2c 20 69 6e | 70 75 74 29 56 61 6c 75 |LFLT, in|put)Valu|
|00005020| 65 20 6f 66 20 79 20 61 | 74 20 74 6f 70 20 65 64 |e of y a|t top ed|
|00005030| 67 65 20 6f 66 20 77 69 | 6e 64 6f 77 2e 0a 0a 3c |ge of wi|ndow...<|
|00005040| 50 3e 0a 6a 75 73 74 20 | 28 50 4c 49 4e 54 2c 20 |P>.just |(PLINT, |
|00005050| 69 6e 70 75 74 29 49 66 | 20 6a 75 73 74 3d 30 2c |input)If| just=0,|
|00005060| 20 74 68 65 20 78 20 61 | 6e 64 20 79 20 61 78 65 | the x a|nd y axe|
|00005070| 73 20 61 72 65 0a 73 63 | 61 6c 65 64 20 69 6e 64 |s are.sc|aled ind|
|00005080| 65 70 65 6e 64 65 6e 74 | 6c 79 20 74 6f 20 75 73 |ependent|ly to us|
|00005090| 65 20 61 73 20 6d 75 63 | 68 20 6f 66 20 74 68 65 |e as muc|h of the|
|000050a0| 20 73 63 72 65 65 6e 20 | 61 73 20 70 6f 73 73 69 | screen |as possi|
|000050b0| 62 6c 65 2c 20 62 75 74 | 20 69 66 0a 6a 75 73 74 |ble, but| if.just|
|000050c0| 3d 31 2c 20 74 68 65 20 | 73 63 61 6c 65 73 20 6f |=1, the |scales o|
|000050d0| 66 20 74 68 65 20 78 20 | 61 6e 64 20 79 20 61 78 |f the x |and y ax|
|000050e0| 65 73 20 61 72 65 20 6d | 61 64 65 20 65 71 75 61 |es are m|ade equa|
|000050f0| 6c 2e 0a 0a 3c 50 3e 0a | 61 78 69 73 20 28 50 4c |l...<P>.|axis (PL|
|00005100| 49 4e 54 2c 20 69 6e 70 | 75 74 29 43 6f 6e 74 72 |INT, inp|ut)Contr|
|00005110| 6f 6c 73 20 64 72 61 77 | 69 6e 67 20 6f 66 20 74 |ols draw|ing of t|
|00005120| 68 65 20 62 6f 78 20 61 | 72 6f 75 6e 64 20 74 68 |he box a|round th|
|00005130| 65 20 70 6c 6f 74 3a 0a | 0a 3c 50 3e 0a 0a 3c 55 |e plot:.|.<P>..<U|
|00005140| 4c 3e 0a 3c 4c 49 3e 2d | 32 3a 20 4e 6f 20 62 6f |L>.<LI>-|2: No bo|
|00005150| 78 20 6f 72 20 61 6e 6e | 6f 74 61 74 69 6f 6e 2e |x or ann|otation.|
|00005160| 0a 0a 3c 50 3e 0a 3c 2f | 4c 49 3e 0a 3c 4c 49 3e |..<P>.</|LI>.<LI>|
|00005170| 2d 31 3a 20 44 72 61 77 | 20 62 6f 78 20 6f 6e 6c |-1: Draw| box onl|
|00005180| 79 2e 0a 0a 3c 50 3e 0a | 3c 2f 4c 49 3e 0a 3c 4c |y...<P>.|</LI>.<L|
|00005190| 49 3e 30 3a 20 44 72 61 | 77 20 62 6f 78 2c 20 6c |I>0: Dra|w box, l|
|000051a0| 61 62 65 6c 6c 65 64 20 | 77 69 74 68 20 63 6f 6f |abelled |with coo|
|000051b0| 72 64 69 6e 61 74 65 20 | 76 61 6c 75 65 73 20 61 |rdinate |values a|
|000051c0| 72 6f 75 6e 64 20 65 64 | 67 65 2e 0a 0a 3c 50 3e |round ed|ge...<P>|
|000051d0| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 31 3a 20 49 6e |.</LI>.<|LI>1: In|
|000051e0| 20 61 64 64 69 74 69 6f | 6e 20 74 6f 20 62 6f 78 | additio|n to box|
|000051f0| 20 61 6e 64 20 6c 61 62 | 65 6c 73 2c 20 64 72 61 | and lab|els, dra|
|00005200| 77 20 74 68 65 20 74 77 | 6f 20 61 78 65 73 20 78 |w the tw|o axes x|
|00005210| 3d 30 0a 61 6e 64 20 79 | 3d 30 2e 20 0a 0a 3c 50 |=0.and y|=0. ..<P|
|00005220| 3e 0a 3c 2f 4c 49 3e 0a | 3c 4c 49 3e 32 3a 20 41 |>.</LI>.|<LI>2: A|
|00005230| 73 20 66 6f 72 20 61 78 | 69 73 3d 31 2c 20 62 75 |s for ax|is=1, bu|
|00005240| 74 20 61 6c 73 6f 20 64 | 72 61 77 20 61 20 67 72 |t also d|raw a gr|
|00005250| 69 64 20 61 74 20 74 68 | 65 20 6d 61 6a 6f 72 20 |id at th|e major |
|00005260| 74 69 63 6b 0a 69 6e 74 | 65 72 76 61 6c 2e 20 0a |tick.int|erval. .|
|00005270| 0a 3c 50 3e 0a 3c 2f 4c | 49 3e 0a 3c 4c 49 3e 31 |.<P>.</L|I>.<LI>1|
|00005280| 30 3a 20 4c 6f 67 61 72 | 69 74 68 6d 69 63 20 78 |0: Logar|ithmic x|
|00005290| 20 61 78 69 73 2c 20 6c | 69 6e 65 61 72 20 79 20 | axis, l|inear y |
|000052a0| 61 78 69 73 2e 0a 0a 3c | 50 3e 0a 3c 2f 4c 49 3e |axis...<|P>.</LI>|
|000052b0| 0a 3c 4c 49 3e 31 31 3a | 20 4c 6f 67 61 72 69 74 |.<LI>11:| Logarit|
|000052c0| 68 6d 69 63 20 78 20 61 | 78 69 73 2c 20 6c 69 6e |hmic x a|xis, lin|
|000052d0| 65 61 72 20 79 20 61 78 | 69 73 20 61 6e 64 20 64 |ear y ax|is and d|
|000052e0| 72 61 77 20 6c 69 6e 65 | 20 79 3d 30 2e 0a 0a 3c |raw line| y=0...<|
|000052f0| 50 3e 0a 3c 2f 4c 49 3e | 0a 3c 4c 49 3e 32 30 3a |P>.</LI>|.<LI>20:|
|00005300| 20 4c 69 6e 65 61 72 20 | 78 20 61 78 69 73 2c 20 | Linear |x axis, |
|00005310| 6c 6f 67 61 72 69 74 68 | 6d 69 63 20 79 20 61 78 |logarith|mic y ax|
|00005320| 69 73 2e 0a 0a 3c 50 3e | 0a 3c 2f 4c 49 3e 0a 3c |is...<P>|.</LI>.<|
|00005330| 4c 49 3e 32 31 3a 20 4c | 69 6e 65 61 72 20 78 20 |LI>21: L|inear x |
|00005340| 61 78 69 73 2c 20 6c 6f | 67 61 72 69 74 68 6d 69 |axis, lo|garithmi|
|00005350| 63 20 79 20 61 78 69 73 | 20 61 6e 64 20 64 72 61 |c y axis| and dra|
|00005360| 77 20 6c 69 6e 65 20 78 | 3d 30 2e 0a 0a 3c 50 3e |w line x|=0...<P>|
|00005370| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 33 30 3a 20 4c |.</LI>.<|LI>30: L|
|00005380| 6f 67 61 72 69 74 68 6d | 69 63 20 78 20 61 6e 64 |ogarithm|ic x and|
|00005390| 20 79 20 61 78 65 73 2e | 0a 3c 2f 4c 49 3e 0a 3c | y axes.|.</LI>.<|
|000053a0| 2f 55 4c 3e 0a 0a 3c 50 | 3e 0a 26 23 31 38 34 3b |/UL>..<P|>.&#184;|
|000053b0| 0a 3c 50 3e 0a 70 6c 65 | 72 72 78 2c 20 70 6c 65 |.<P>.ple|rrx, ple|
|000053c0| 72 72 79 2c 20 70 6c 65 | 6e 76 2c 20 41 50 49 0a |rry, ple|nv, API.|
|000053d0| 0a 3c 50 3e 0a 70 6c 65 | 72 72 78 28 6e 2c 20 78 |.<P>.ple|rrx(n, x|
|000053e0| 6d 69 6e 2c 20 78 6d 61 | 78 2c 20 79 29 0a 3c 41 |min, xma|x, y).<A|
|000053f0| 20 49 44 3d 22 70 6c 65 | 72 72 78 22 3e 3c 2f 41 | ID="ple|rrx"></A|
|00005400| 3e 70 6c 65 72 72 78 0a | 0a 3c 50 3e 0a 44 72 61 |>plerrx.|.<P>.Dra|
|00005410| 77 73 20 61 20 73 65 74 | 20 6f 66 20 6e 20 68 6f |ws a set| of n ho|
|00005420| 72 69 7a 6f 6e 74 61 6c | 20 65 72 72 6f 72 20 62 |rizontal| error b|
|00005430| 61 72 73 2c 20 74 68 65 | 20 69 27 74 68 20 65 72 |ars, the| i'th er|
|00005440| 72 6f 72 0a 62 61 72 20 | 65 78 74 65 6e 64 69 6e |ror.bar |extendin|
|00005450| 67 20 66 72 6f 6d 20 78 | 6d 69 6e 5b 69 5d 20 74 |g from x|min[i] t|
|00005460| 6f 20 78 6d 61 78 5b 69 | 5d 20 61 74 20 79 20 63 |o xmax[i|] at y c|
|00005470| 6f 6f 72 64 69 6e 61 74 | 65 0a 79 5b 69 5d 2e 20 |oordinat|e.y[i]. |
|00005480| 20 54 68 65 20 74 65 72 | 6d 69 6e 61 6c 73 20 6f | The ter|minals o|
|00005490| 66 20 74 68 65 20 65 72 | 72 6f 72 20 62 61 72 20 |f the er|ror bar |
|000054a0| 61 72 65 20 6f 66 20 6c | 65 6e 67 74 68 20 65 71 |are of l|ength eq|
|000054b0| 75 61 6c 20 74 6f 20 74 | 68 65 0a 6d 69 6e 6f 72 |ual to t|he.minor|
|000054c0| 20 74 69 63 6b 20 6c 65 | 6e 67 74 68 20 28 73 65 | tick le|ngth (se|
|000054d0| 74 74 61 62 6c 65 20 75 | 73 69 6e 67 20 70 6c 73 |ttable u|sing pls|
|000054e0| 6d 69 6e 29 2e 0a 0a 3c | 50 3e 0a 6e 20 28 50 4c |min)...<|P>.n (PL|
|000054f0| 49 4e 54 2c 20 69 6e 70 | 75 74 29 4e 75 6d 62 65 |INT, inp|ut)Numbe|
|00005500| 72 20 6f 66 20 65 72 72 | 6f 72 20 62 61 72 73 20 |r of err|or bars |
|00005510| 74 6f 20 64 72 61 77 2e | 0a 0a 3c 50 3e 0a 78 6d |to draw.|..<P>.xm|
|00005520| 69 6e 20 28 50 4c 46 4c | 54 20 2a 2c 20 69 6e 70 |in (PLFL|T *, inp|
|00005530| 75 74 29 50 6f 69 6e 74 | 65 72 20 74 6f 20 61 72 |ut)Point|er to ar|
|00005540| 72 61 79 20 77 69 74 68 | 20 78 20 63 6f 6f 72 64 |ray with| x coord|
|00005550| 69 6e 61 74 65 73 20 6f | 66 0a 6c 65 66 74 2d 68 |inates o|f.left-h|
|00005560| 61 6e 64 20 65 6e 64 70 | 6f 69 6e 74 20 6f 66 20 |and endp|oint of |
|00005570| 65 72 72 6f 72 20 62 61 | 72 73 2e 0a 0a 3c 50 3e |error ba|rs...<P>|
|00005580| 0a 78 6d 61 78 20 28 50 | 4c 46 4c 54 20 2a 2c 20 |.xmax (P|LFLT *, |
|00005590| 69 6e 70 75 74 29 50 6f | 69 6e 74 65 72 20 74 6f |input)Po|inter to|
|000055a0| 20 61 72 72 61 79 20 77 | 69 74 68 20 78 20 63 6f | array w|ith x co|
|000055b0| 6f 72 64 69 6e 61 74 65 | 73 20 6f 66 0a 72 69 67 |ordinate|s of.rig|
|000055c0| 68 74 2d 68 61 6e 64 20 | 65 6e 64 70 6f 69 6e 74 |ht-hand |endpoint|
|000055d0| 20 6f 66 20 65 72 72 6f | 72 20 62 61 72 73 2e 0a | of erro|r bars..|
|000055e0| 0a 3c 50 3e 0a 79 20 28 | 50 4c 46 4c 54 20 2a 2c |.<P>.y (|PLFLT *,|
|000055f0| 20 69 6e 70 75 74 29 50 | 6f 69 6e 74 65 72 20 74 | input)P|ointer t|
|00005600| 6f 20 61 72 72 61 79 20 | 77 69 74 68 20 79 20 63 |o array |with y c|
|00005610| 6f 6f 72 64 69 6e 61 74 | 65 73 20 6f 66 0a 65 72 |oordinat|es of.er|
|00005620| 72 6f 72 20 62 61 72 2e | 0a 0a 3c 50 3e 0a 26 23 |ror bar.|..<P>.&#|
|00005630| 31 38 34 3b 0a 3c 50 3e | 0a 70 6c 65 72 72 79 2c |184;.<P>|.plerry,|
|00005640| 20 70 6c 65 78 69 74 2c | 20 70 6c 65 72 72 78 2c | plexit,| plerrx,|
|00005650| 20 41 50 49 0a 0a 3c 50 | 3e 0a 70 6c 65 72 72 79 | API..<P|>.plerry|
|00005660| 28 6e 2c 20 78 2c 20 79 | 6d 69 6e 2c 20 79 6d 61 |(n, x, y|min, yma|
|00005670| 78 29 0a 3c 41 20 49 44 | 3d 22 70 6c 65 72 72 79 |x).<A ID|="plerry|
|00005680| 22 3e 3c 2f 41 3e 70 6c | 65 72 72 79 0a 0a 3c 50 |"></A>pl|erry..<P|
|00005690| 3e 0a 44 72 61 77 73 20 | 61 20 73 65 74 20 6f 66 |>.Draws |a set of|
|000056a0| 20 6e 20 76 65 72 74 69 | 63 61 6c 20 65 72 72 6f | n verti|cal erro|
|000056b0| 72 20 62 61 72 73 2c 20 | 74 68 65 20 69 27 74 68 |r bars, |the i'th|
|000056c0| 20 65 72 72 6f 72 20 62 | 61 72 0a 65 78 74 65 6e | error b|ar.exten|
|000056d0| 64 69 6e 67 20 66 72 6f | 6d 20 79 6d 69 6e 5b 69 |ding fro|m ymin[i|
|000056e0| 5d 20 74 6f 20 79 6d 61 | 78 5b 69 5d 20 61 74 20 |] to yma|x[i] at |
|000056f0| 78 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 78 5b 69 |x coordi|nate x[i|
|00005700| 5d 2e 0a 54 68 65 20 74 | 65 72 6d 69 6e 61 6c 73 |]..The t|erminals|
|00005710| 20 6f 66 20 74 68 65 20 | 65 72 72 6f 72 20 62 61 | of the |error ba|
|00005720| 72 20 61 72 65 20 6f 66 | 20 6c 65 6e 67 74 68 20 |r are of| length |
|00005730| 65 71 75 61 6c 20 74 6f | 20 74 68 65 20 6d 69 6e |equal to| the min|
|00005740| 6f 72 20 74 69 63 6b 20 | 6c 65 6e 67 74 68 0a 28 |or tick |length.(|
|00005750| 73 65 74 74 61 62 6c 65 | 20 75 73 69 6e 67 20 70 |settable| using p|
|00005760| 6c 73 6d 69 6e 29 2e 0a | 0a 3c 50 3e 0a 6e 20 28 |lsmin)..|.<P>.n (|
|00005770| 50 4c 49 4e 54 2c 20 69 | 6e 70 75 74 29 4e 75 6d |PLINT, i|nput)Num|
|00005780| 62 65 72 20 6f 66 20 65 | 72 72 6f 72 20 62 61 72 |ber of e|rror bar|
|00005790| 73 20 74 6f 20 64 72 61 | 77 2e 0a 0a 3c 50 3e 0a |s to dra|w...<P>.|
|000057a0| 78 20 28 50 4c 46 4c 54 | 20 2a 2c 20 69 6e 70 75 |x (PLFLT| *, inpu|
|000057b0| 74 29 50 6f 69 6e 74 65 | 72 20 74 6f 20 61 72 72 |t)Pointe|r to arr|
|000057c0| 61 79 20 77 69 74 68 20 | 78 20 63 6f 6f 72 64 69 |ay with |x coordi|
|000057d0| 6e 61 74 65 73 20 6f 66 | 0a 65 72 72 6f 72 20 62 |nates of|.error b|
|000057e0| 61 72 73 2e 0a 0a 3c 50 | 3e 0a 79 6d 69 6e 20 28 |ars...<P|>.ymin (|
|000057f0| 50 4c 46 4c 54 20 2a 2c | 20 69 6e 70 75 74 29 50 |PLFLT *,| input)P|
|00005800| 6f 69 6e 74 65 72 20 74 | 6f 20 61 72 72 61 79 20 |ointer t|o array |
|00005810| 77 69 74 68 20 79 20 63 | 6f 6f 72 64 69 6e 61 74 |with y c|oordinat|
|00005820| 65 73 20 6f 66 0a 6c 6f | 77 65 72 20 65 6e 64 70 |es of.lo|wer endp|
|00005830| 6f 69 6e 74 20 6f 66 20 | 65 72 72 6f 72 20 62 61 |oint of |error ba|
|00005840| 72 73 2e 0a 0a 3c 50 3e | 0a 79 6d 61 78 20 28 50 |rs...<P>|.ymax (P|
|00005850| 4c 46 4c 54 20 2a 2c 20 | 69 6e 70 75 74 29 50 6f |LFLT *, |input)Po|
|00005860| 69 6e 74 65 72 20 74 6f | 20 61 72 72 61 79 20 77 |inter to| array w|
|00005870| 69 74 68 20 79 20 63 6f | 6f 72 64 69 6e 61 74 65 |ith y co|ordinate|
|00005880| 20 6f 66 0a 75 70 70 65 | 72 20 65 6e 64 70 6f 69 | of.uppe|r endpoi|
|00005890| 6e 74 20 6f 66 20 65 72 | 72 6f 72 20 62 61 72 2e |nt of er|ror bar.|
|000058a0| 0a 0a 3c 50 3e 0a 26 23 | 31 38 34 3b 0a 3c 50 3e |..<P>.&#|184;.<P>|
|000058b0| 0a 70 6c 65 78 69 74 2c | 20 70 6c 66 69 6c 6c 2c |.plexit,| plfill,|
|000058c0| 20 70 6c 65 72 72 79 2c | 20 41 50 49 0a 0a 3c 50 | plerry,| API..<P|
|000058d0| 3e 0a 70 6c 65 78 69 74 | 28 6d 65 73 73 61 67 65 |>.plexit|(message|
|000058e0| 29 0a 3c 41 20 49 44 3d | 22 70 6c 65 78 69 74 22 |).<A ID=|"plexit"|
|000058f0| 3e 3c 2f 41 3e 70 6c 65 | 78 69 74 0a 0a 3c 50 3e |></A>ple|xit..<P>|
|00005900| 0a 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 69 73 |.This ro|utine is|
|00005910| 20 63 61 6c 6c 65 64 20 | 69 6e 20 63 61 73 65 20 | called |in case |
|00005920| 61 6e 20 65 72 72 6f 72 | 20 69 73 20 65 6e 63 6f |an error| is enco|
|00005930| 75 6e 74 65 72 65 64 20 | 64 75 72 69 6e 67 0a 65 |untered |during.e|
|00005940| 78 65 63 75 74 69 6f 6e | 20 6f 66 20 61 20 50 4c |xecution| of a PL|
|00005950| 70 6c 6f 74 20 72 6f 75 | 74 69 6e 65 2e 20 20 49 |plot rou|tine. I|
|00005960| 74 20 70 72 69 6e 74 73 | 20 74 68 65 20 65 72 72 |t prints| the err|
|00005970| 6f 72 20 6d 65 73 73 61 | 67 65 2c 20 74 72 69 65 |or messa|ge, trie|
|00005980| 73 20 74 6f 0a 72 65 6c | 65 61 73 65 20 61 6c 6c |s to.rel|ease all|
|00005990| 6f 63 61 74 65 64 20 72 | 65 73 6f 75 72 63 65 73 |ocated r|esources|
|000059a0| 2c 20 63 61 6c 6c 73 20 | 70 6c 5f 65 78 69 74 20 |, calls |pl_exit |
|000059b0| 61 6e 64 20 74 68 65 6e | 20 65 78 69 74 73 2e 20 |and then| exits. |
|000059c0| 20 49 66 0a 63 6c 65 61 | 6e 75 70 20 6e 65 65 64 | If.clea|nup need|
|000059d0| 73 20 74 6f 20 62 65 20 | 64 6f 6e 65 20 69 6e 20 |s to be |done in |
|000059e0| 74 68 65 20 64 72 69 76 | 65 72 20 70 72 6f 67 72 |the driv|er progr|
|000059f0| 61 6d 20 74 68 65 6e 20 | 74 68 65 20 75 73 65 72 |am then |the user|
|00005a00| 20 6d 61 79 20 77 61 6e | 74 20 74 6f 0a 73 75 70 | may wan|t to.sup|
|00005a10| 70 6c 79 20 68 69 73 2f | 68 65 72 20 6f 77 6e 20 |ply his/|her own |
|00005a20| 76 65 72 73 69 6f 6e 20 | 6f 66 20 70 6c 5f 65 78 |version |of pl_ex|
|00005a30| 69 74 2e 0a 0a 3c 50 3e | 0a 6d 65 73 73 61 67 65 |it...<P>|.message|
|00005a40| 20 28 63 68 61 72 20 2a | 2c 20 69 6e 70 75 74 29 | (char *|, input)|
|00005a50| 45 72 72 6f 72 20 6d 65 | 73 73 61 67 65 2e 0a 0a |Error me|ssage...|
|00005a60| 3c 50 3e 0a 26 23 31 38 | 34 3b 0a 3c 50 3e 0a 70 |<P>.&#18|4;.<P>.p|
|00005a70| 6c 66 69 6c 6c 2c 20 70 | 6c 66 6f 6e 74 2c 20 70 |lfill, p|lfont, p|
|00005a80| 6c 65 78 69 74 2c 20 41 | 50 49 0a 0a 3c 50 3e 0a |lexit, A|PI..<P>.|
|00005a90| 70 6c 66 69 6c 6c 28 6e | 2c 20 78 2c 20 79 29 0a |plfill(n|, x, y).|
|00005aa0| 3c 41 20 49 44 3d 22 70 | 6c 66 69 6c 6c 22 3e 3c |<A ID="p|lfill"><|
|00005ab0| 2f 41 3e 70 6c 66 69 6c | 6c 0a 0a 3c 50 3e 0a 46 |/A>plfil|l..<P>.F|
|00005ac0| 69 6c 6c 73 20 74 68 65 | 20 70 6f 6c 79 67 6f 6e |ills the| polygon|
|00005ad0| 20 64 65 66 69 6e 65 64 | 20 62 79 20 74 68 65 20 | defined| by the |
|00005ae0| 6e 20 70 6f 69 6e 74 73 | 20 28 78 5b 69 5d 2c 20 |n points| (x[i], |
|00005af0| 79 5b 69 5d 29 0a 75 73 | 69 6e 67 20 74 68 65 20 |y[i]).us|ing the |
|00005b00| 70 61 74 74 65 72 6e 20 | 64 65 66 69 6e 65 64 20 |pattern |defined |
|00005b10| 62 79 20 70 6c 70 73 74 | 79 20 6f 72 20 70 6c 70 |by plpst|y or plp|
|00005b20| 61 74 2e 20 20 54 68 65 | 20 72 6f 75 74 69 6e 65 |at. The| routine|
|00005b30| 20 77 69 6c 6c 0a 61 75 | 74 6f 6d 61 74 69 63 61 | will.au|tomatica|
|00005b40| 6c 6c 79 20 63 6c 6f 73 | 65 20 74 68 65 20 70 6f |lly clos|e the po|
|00005b50| 6c 79 67 6f 6e 20 62 65 | 74 77 65 65 6e 20 74 68 |lygon be|tween th|
|00005b60| 65 20 6c 61 73 74 20 61 | 6e 64 20 66 69 72 73 74 |e last a|nd first|
|00005b70| 20 76 65 72 74 69 63 65 | 73 2e 20 20 49 66 0a 6d | vertice|s. If.m|
|00005b80| 75 6c 74 69 70 6c 65 20 | 63 6c 6f 73 65 64 20 70 |ultiple |closed p|
|00005b90| 6f 6c 79 67 6f 6e 73 20 | 61 72 65 20 70 61 73 73 |olygons |are pass|
|00005ba0| 65 64 20 69 6e 20 78 20 | 61 6e 64 20 79 20 74 68 |ed in x |and y th|
|00005bb0| 65 6e 20 70 6c 66 69 6c | 6c 0a 77 69 6c 6c 20 66 |en plfil|l.will f|
|00005bc0| 69 6c 6c 20 69 6e 20 62 | 65 74 77 65 65 6e 20 74 |ill in b|etween t|
|00005bd0| 68 65 6d 2e 0a 0a 3c 50 | 3e 0a 6e 20 28 50 4c 49 |hem...<P|>.n (PLI|
|00005be0| 4e 54 2c 20 69 6e 70 75 | 74 29 4e 75 6d 62 65 72 |NT, inpu|t)Number|
|00005bf0| 20 6f 66 20 76 65 72 74 | 69 63 65 73 20 69 6e 20 | of vert|ices in |
|00005c00| 70 6f 6c 79 67 6f 6e 2e | 0a 0a 3c 50 3e 0a 78 20 |polygon.|..<P>.x |
|00005c10| 28 50 4c 46 4c 54 20 2a | 2c 20 69 6e 70 75 74 29 |(PLFLT *|, input)|
|00005c20| 50 6f 69 6e 74 65 72 20 | 74 6f 20 61 72 72 61 79 |Pointer |to array|
|00005c30| 20 77 69 74 68 20 78 20 | 63 6f 6f 72 64 69 6e 61 | with x |coordina|
|00005c40| 74 65 73 20 6f 66 0a 76 | 65 72 74 69 63 65 73 2e |tes of.v|ertices.|
|00005c50| 0a 0a 3c 50 3e 0a 79 20 | 28 50 4c 46 4c 54 20 2a |..<P>.y |(PLFLT *|
|00005c60| 2c 20 69 6e 70 75 74 29 | 50 6f 69 6e 74 65 72 20 |, input)|Pointer |
|00005c70| 74 6f 20 61 72 72 61 79 | 20 77 69 74 68 20 79 20 |to array| with y |
|00005c80| 63 6f 6f 72 64 69 6e 61 | 74 65 73 20 6f 66 0a 76 |coordina|tes of.v|
|00005c90| 65 72 74 69 63 65 73 2e | 0a 0a 3c 50 3e 0a 26 23 |ertices.|..<P>.&#|
|00005ca0| 31 38 34 3b 0a 3c 50 3e | 0a 70 6c 66 6f 6e 74 2c |184;.<P>|.plfont,|
|00005cb0| 20 70 6c 66 6f 6e 74 6c | 64 2c 20 70 6c 66 69 6c | plfontl|d, plfil|
|00005cc0| 6c 2c 20 41 50 49 0a 0a | 3c 50 3e 0a 70 6c 66 6f |l, API..|<P>.plfo|
|00005cd0| 6e 74 28 66 6f 6e 74 29 | 0a 3c 41 20 49 44 3d 22 |nt(font)|.<A ID="|
|00005ce0| 70 6c 66 6f 6e 74 22 3e | 3c 2f 41 3e 70 6c 66 6f |plfont">|</A>plfo|
|00005cf0| 6e 74 0a 0a 3c 50 3e 0a | 53 65 74 73 20 74 68 65 |nt..<P>.|Sets the|
|00005d00| 20 64 65 66 61 75 6c 74 | 20 63 68 61 72 61 63 74 | default| charact|
|00005d10| 65 72 20 66 6f 6e 74 20 | 66 6f 72 20 73 75 62 73 |er font |for subs|
|00005d20| 65 71 75 65 6e 74 20 63 | 68 61 72 61 63 74 65 72 |equent c|haracter|
|00005d30| 20 64 72 61 77 69 6e 67 | 2e 0a 41 6c 73 6f 20 61 | drawing|..Also a|
|00005d40| 66 66 65 63 74 73 20 73 | 79 6d 62 6f 6c 73 20 70 |ffects s|ymbols p|
|00005d50| 72 6f 64 75 63 65 64 20 | 62 79 20 70 6c 70 6f 69 |roduced |by plpoi|
|00005d60| 6e 2e 20 20 54 68 69 73 | 20 72 6f 75 74 69 6e 65 |n. This| routine|
|00005d70| 20 68 61 73 20 6e 6f 20 | 65 66 66 65 63 74 0a 75 | has no |effect.u|
|00005d80| 6e 6c 65 73 73 20 74 68 | 65 20 65 78 74 65 6e 64 |nless th|e extend|
|00005d90| 65 64 20 63 68 61 72 61 | 63 74 65 72 20 73 65 74 |ed chara|cter set|
|00005da0| 20 69 73 20 6c 6f 61 64 | 65 64 20 28 73 65 65 20 | is load|ed (see |
|00005db0| 70 6c 66 6f 6e 74 6c 64 | 29 2e 0a 0a 3c 50 3e 0a |plfontld|)...<P>.|
|00005dc0| 66 6f 6e 74 20 28 50 4c | 49 4e 54 2c 20 69 6e 70 |font (PL|INT, inp|
|00005dd0| 75 74 29 53 70 65 63 69 | 66 69 65 73 20 74 68 65 |ut)Speci|fies the|
|00005de0| 20 66 6f 6e 74 3a 0a 0a | 3c 50 3e 0a 0a 3c 55 4c | font:..|<P>..<UL|
|00005df0| 3e 0a 3c 4c 49 3e 31 3a | 20 4e 6f 72 6d 61 6c 20 |>.<LI>1:| Normal |
|00005e00| 66 6f 6e 74 20 28 73 69 | 6d 70 6c 65 73 74 20 61 |font (si|mplest a|
|00005e10| 6e 64 20 66 61 73 74 65 | 73 74 29 0a 0a 3c 50 3e |nd faste|st)..<P>|
|00005e20| 0a 3c 2f 4c 49 3e 0a 3c | 4c 49 3e 32 3a 20 52 6f |.</LI>.<|LI>2: Ro|
|00005e30| 6d 61 6e 20 66 6f 6e 74 | 0a 0a 3c 50 3e 0a 3c 2f |man font|..<P>.</|
|00005e40| 4c 49 3e 0a 3c 4c 49 3e | 33 3a 20 49 74 61 6c 69 |LI>.<LI>|3: Itali|
|00005e50| 63 20 66 6f 6e 74 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 |c font..|<P>.</LI|
|00005e60| 3e 0a 3c 4c 49 3e 34 3a | 20 53 63 72 69 70 74 20 |>.<LI>4:| Script |
|00005e70| 66 6f 6e 74 0a 3c 2f 4c | 49 3e 0a 3c 2f 55 4c 3e |font.</L|I>.</UL>|
|00005e80| 0a 0a 3c 50 3e 0a 26 23 | 31 38 34 3b 0a 3c 50 3e |..<P>.&#|184;.<P>|
|00005e90| 0a 70 6c 66 6f 6e 74 6c | 64 2c 20 70 6c 67 66 61 |.plfontl|d, plgfa|
|00005ea0| 6d 2c 20 70 6c 66 6f 6e | 74 2c 20 41 50 49 0a 0a |m, plfon|t, API..|
|00005eb0| 3c 50 3e 0a 70 6c 66 6f | 6e 74 6c 64 28 73 65 74 |<P>.plfo|ntld(set|
|00005ec0| 29 0a 3c 41 20 49 44 3d | 22 70 6c 66 6f 6e 74 6c |).<A ID=|"plfontl|
|00005ed0| 64 22 3e 3c 2f 41 3e 70 | 6c 66 6f 6e 74 6c 64 0a |d"></A>p|lfontld.|
|00005ee0| 0a 3c 50 3e 0a 53 65 74 | 73 20 74 68 65 20 63 68 |.<P>.Set|s the ch|
|00005ef0| 61 72 61 63 74 65 72 20 | 73 65 74 20 74 6f 20 75 |aracter |set to u|
|00005f00| 73 65 20 66 6f 72 20 73 | 75 62 73 65 71 75 65 6e |se for s|ubsequen|
|00005f10| 74 20 63 68 61 72 61 63 | 74 65 72 20 64 72 61 77 |t charac|ter draw|
|00005f20| 69 6e 67 2e 0a 4d 61 79 | 20 62 65 20 63 61 6c 6c |ing..May| be call|
|00005f30| 65 64 20 62 65 66 6f 72 | 65 20 63 61 6c 6c 69 6e |ed befor|e callin|
|00005f40| 67 20 69 6e 69 74 69 61 | 6c 69 7a 69 6e 67 20 50 |g initia|lizing P|
|00005f50| 4c 70 6c 6f 74 2e 0a 0a | 3c 50 3e 0a 73 65 74 20 |Lplot...|<P>.set |
|00005f60| 28 50 4c 49 4e 54 2c 20 | 69 6e 70 75 74 29 53 70 |(PLINT, |input)Sp|
|00005f70| 65 63 69 66 69 65 73 20 | 74 68 65 20 63 68 61 72 |ecifies |the char|
|00005f80| 61 63 74 65 72 20 73 65 | 74 20 74 6f 20 6c 6f 61 |acter se|t to loa|
|00005f90| 64 3a 0a 0a 3c 55 4c 3e | 0a 3c 4c 49 3e 30 3a 20 |d:..<UL>|.<LI>0: |
|00005fa0| 53 74 61 6e 64 61 72 64 | 20 63 68 61 72 61 63 74 |Standard| charact|
|00005fb0| 65 72 20 73 65 74 0a 0a | 3c 50 3e 0a 3c 2f 4c 49 |er set..|<P>.</LI|
|00005fc0| 3e 0a 3c 4c 49 3e 31 3a | 20 45 78 74 65 6e 64 65 |>.<LI>1:| Extende|
|00005fd0| 64 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 0a |d charac|ter set.|
|00005fe0| 3c 2f 4c 49 3e 0a 3c 2f | 55 4c 3e 0a 0a 3c 50 3e |</LI>.</|UL>..<P>|
|00005ff0| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 67 66 |.&#184;.|<P>.plgf|
|00006000| 61 6d 2c 20 70 6c 67 66 | 69 6c 65 2c 20 70 6c 66 |am, plgf|ile, plf|
|00006010| 6f 6e 74 6c 64 2c 20 41 | 50 49 0a 0a 3c 50 3e 0a |ontld, A|PI..<P>.|
|00006020| 70 6c 67 66 61 6d 28 66 | 61 6d 2c 20 6e 75 6d 2c |plgfam(f|am, num,|
|00006030| 20 62 6d 61 78 29 0a 3c | 41 20 49 44 3d 22 70 6c | bmax).<|A ID="pl|
|00006040| 67 66 61 6d 22 3e 3c 2f | 41 3e 70 6c 67 66 61 6d |gfam"></|A>plgfam|
|00006050| 0a 0a 3c 50 3e 0a 47 65 | 74 73 20 69 6e 66 6f 72 |..<P>.Ge|ts infor|
|00006060| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 63 75 72 |mation a|bout cur|
|00006070| 72 65 6e 74 20 66 61 6d | 69 6c 79 20 66 69 6c 65 |rent fam|ily file|
|00006080| 2c 20 69 66 20 66 61 6d | 69 6c 79 69 6e 67 20 69 |, if fam|ilying i|
|00006090| 73 0a 65 6e 61 62 6c 65 | 64 2e 20 20 53 65 65 20 |s.enable|d. See |
|000060a0| 53 65 63 74 69 6f 6e 20 | 3c 41 20 48 52 45 46 3d |Section |<A HREF=|
|000060b0| 22 23 73 65 63 3a 66 61 | 6d 69 6c 79 22 20 54 41 |"#sec:fa|mily" TA|
|000060c0| 52 47 45 54 3d 22 5f 74 | 6f 70 22 3e 3c 49 4d 47 |RGET="_t|op"><IMG|
|000060d0| 20 20 41 4c 54 3d 22 5b | 2a 5d 22 20 53 52 43 3d | ALT="[|*]" SRC=|
|000060e0| 22 63 72 6f 73 73 72 65 | 66 2e 70 6e 67 22 3e 3c |"crossre|f.png"><|
|000060f0| 2f 41 3e 20 66 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |/A> for |more inf|
|00006100| 6f 72 6d 61 74 69 6f 6e | 2e 0a 0a 3c 50 3e 0a 66 |ormation|...<P>.f|
|00006110| 61 6d 20 28 50 4c 49 4e | 54 20 2a 2c 20 6f 75 74 |am (PLIN|T *, out|
|00006120| 70 75 74 29 50 6f 69 6e | 74 65 72 20 74 6f 20 76 |put)Poin|ter to v|
|00006130| 61 72 69 61 62 6c 65 20 | 77 69 74 68 20 74 68 65 |ariable |with the|
|00006140| 20 62 6f 6f 6c 65 61 6e | 0a 66 61 6d 69 6c 79 20 | boolean|.family |
|00006150| 66 6c 61 67 20 76 61 6c | 75 65 2e 20 20 20 49 66 |flag val|ue. If|
|00006160| 20 6e 6f 6e 7a 65 72 6f | 2c 20 66 61 6d 69 6c 79 | nonzero|, family|
|00006170| 69 6e 67 20 69 73 20 65 | 6e 61 62 6c 65 64 2e 0a |ing is e|nabled..|
|00006180| 0a 3c 50 3e 0a 6e 75 6d | 20 28 50 4c 49 4e 54 20 |.<P>.num| (PLINT |
|00006190| 2a 2c 20 6f 75 74 70 75 | 74 29 50 6f 69 6e 74 65 |*, outpu|t)Pointe|
|000061a0| 72 20 74 6f 20 76 61 72 | 69 61 62 6c 65 20 77 69 |r to var|iable wi|
|000061b0| 74 68 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 0a |th the c|urrent .|
|000061c0| 66 61 6d 69 6c 79 20 66 | 69 6c 65 20 6e 75 6d 62 |family f|ile numb|
|000061d0| 65 72 2e 0a 0a 3c 50 3e | 0a 62 6d 61 78 20 28 50 |er...<P>|.bmax (P|
|000061e0| 4c 49 4e 54 20 2a 2c 20 | 6f 75 74 70 75 74 29 50 |LINT *, |output)P|
|000061f0| 6f 69 6e 74 65 72 20 74 | 6f 20 76 61 72 69 61 62 |ointer t|o variab|
|00006200| 6c 65 20 77 69 74 68 20 | 74 68 65 20 6d 61 78 69 |le with |the maxi|
|00006210| 6d 75 6d 0a 66 69 6c 65 | 20 73 69 7a 65 20 28 69 |mum.file| size (i|
|00006220| 6e 20 62 79 74 65 73 29 | 20 66 6f 72 20 61 20 66 |n bytes)| for a f|
|00006230| 61 6d 69 6c 79 20 66 69 | 6c 65 2e 0a 0a 3c 50 3e |amily fi|le...<P>|
|00006240| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 67 66 |.&#184;.|<P>.plgf|
|00006250| 69 6c 65 2c 20 70 6c 67 | 66 6e 61 6d 2c 20 70 6c |ile, plg|fnam, pl|
|00006260| 67 66 61 6d 2c 20 41 50 | 49 0a 0a 3c 50 3e 0a 70 |gfam, AP|I..<P>.p|
|00006270| 6c 67 66 69 6c 65 28 66 | 69 6c 65 29 0a 3c 41 20 |lgfile(f|ile).<A |
|00006280| 49 44 3d 22 70 6c 67 66 | 69 6c 65 22 3e 3c 2f 41 |ID="plgf|ile"></A|
|00006290| 3e 70 6c 67 66 69 6c 65 | 0a 0a 3c 50 3e 0a 47 65 |>plgfile|..<P>.Ge|
|000062a0| 74 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6f |ts the c|urrent o|
|000062b0| 75 74 70 75 74 20 66 69 | 6c 65 20 68 61 6e 64 6c |utput fi|le handl|
|000062c0| 65 2c 20 69 66 20 61 70 | 70 6c 69 63 61 62 6c 65 |e, if ap|plicable|
|000062d0| 2e 20 0a 0a 3c 50 3e 0a | 66 69 6c 65 20 28 46 49 |. ..<P>.|file (FI|
|000062e0| 4c 45 20 2a 2c 20 6f 75 | 74 70 75 74 29 46 69 6c |LE *, ou|tput)Fil|
|000062f0| 65 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 63 75 72 |e pointe|r to cur|
|00006300| 72 65 6e 74 20 6f 75 74 | 70 75 74 20 66 69 6c 65 |rent out|put file|
|00006310| 2e 0a 0a 3c 50 3e 0a 4e | 4f 54 45 3a 20 63 61 6e |...<P>.N|OTE: can|
|00006320| 6e 6f 74 20 62 65 20 63 | 61 6c 6c 65 64 20 66 72 |not be c|alled fr|
|00006330| 6f 6d 20 46 6f 72 74 72 | 61 6e 2e 0a 0a 3c 50 3e |om Fortr|an...<P>|
|00006340| 0a 26 23 31 38 34 3b 0a | 3c 50 3e 0a 70 6c 67 66 |.&#184;.|<P>.plgf|
|00006350| 6e 61 6d 2c 20 70 6c 67 | 70 61 67 65 2c 20 70 6c |nam, plg|page, pl|
|00006360| 67 66 69 6c 65 2c 20 41 | 50 49 0a 0a 3c 50 3e 0a |gfile, A|PI..<P>.|
|00006370| 70 6c 67 66 6e 61 6d 28 | 66 6e 61 6d 29 0a 3c 41 |plgfnam(|fnam).<A|
|00006380| 20 49 44 3d 22 70 6c 67 | 66 6e 61 6d 22 3e 3c 2f | ID="plg|fnam"></|
|00006390| 41 3e 70 6c 67 66 6e 61 | 6d 0a 0a 3c 50 3e 0a 47 |A>plgfna|m..<P>.G|
|000063a0| 65 74 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ets the |current |
|000063b0| 6f 75 74 70 75 74 20 66 | 69 6c 65 20 6e 61 6d 65 |output f|ile name|
|000063c0| 2c 20 69 66 20 61 70 70 | 6c 69 63 61 62 6c 65 2e |, if app|licable.|
|000063d0| 20 0a 0a 3c 50 3e 0a 66 | 6e 61 6d 20 28 63 68 61 | ..<P>.f|nam (cha|
|000063e0| 72 20 2a 2c 20 6f 75 74 | 70 75 74 29 50 6f 69 6e |r *, out|put)Poin|
|000063f0| 74 65 72 20 74 6f 20 66 | 69 6c 65 20 6e 61 6d 65 |ter to f|ile name|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.